commit 54c40508107119b4621f9d841715cd3cf17d3d45
parent a88c69b621619308259af99fa0756232e8a9ab4a
Author: Vincent Demeester <vincent@sbr.pm>
Date: Sat, 6 Jun 2020 13:20:17 +0200
profiles.mail: fix msmtprc secret path
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/profiles/mail.nixos.nix b/modules/profiles/mail.nixos.nix
@@ -17,7 +17,7 @@ in
};
};
config = mkIf (cfg.enable && secretCondition) {
- environment.etc."msmtprc".source = ../../assets/msmtprc;
+ environment.etc."msmtprc".source = pkgs.mkSecret ../../secrets/msmtprc;
environment.systemPackages = with pkgs; [ msmtp ];
};
}