From 2df216d7c4c91021c2bf729e18dfeb2829de3c40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= Date: Sun, 14 Jan 2024 18:05:03 +0100 Subject: [PATCH] fix(mail): fix config --- hosts/home-server.nix | 2 +- services/authelia.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/home-server.nix b/hosts/home-server.nix index 8a3f083..6420c37 100644 --- a/hosts/home-server.nix +++ b/hosts/home-server.nix @@ -135,7 +135,7 @@ in { method = "email"; email.mailTo = "admin@felschr.com"; email.mailFrom = - "${config.networking.hostName} <${config.msmtp.accounts.default.from}>"; + "${config.networking.hostName} <${config.programs.msmtp.accounts.default.from}>"; }; # only change this when specified in release notes diff --git a/services/authelia.nix b/services/authelia.nix index 68f2c62..9a16ad9 100644 --- a/services/authelia.nix +++ b/services/authelia.nix @@ -21,7 +21,7 @@ let }]; }; - smtpAccount = config.msmtp.accounts.default; + smtpAccount = config.programs.msmtp.accounts.default; in { age.secrets.authelia-jwt = { file = ../secrets/authelia/jwt.age;