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;