Commit 5290a0e15dac
Changed files (1)
systems
modules
profiles
systems/modules/profiles/mail.nix
@@ -3,8 +3,6 @@
with lib;
let
cfg = config.profiles.mail;
- secretPath = ../../../secrets/machines.nix;
- secretCondition = (builtins.pathExists secretPath);
in
{
options = {
@@ -16,7 +14,7 @@ in
};
};
};
- config = mkIf (cfg.enable && secretCondition) {
+ config = mkIf (cfg.enable) {
sops.secrets.msmtprc = {
path = "/etc/msmtprc";
};