From a3462daeb10ba908396aaa3aee521042a239d7ca Mon Sep 17 00:00:00 2001 From: Olli Helenius Date: Sun, 10 Feb 2019 18:53:33 +0200 Subject: [PATCH] msmtp: use XDG config directory --- modules/programs/msmtp.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/msmtp.nix b/modules/programs/msmtp.nix index b19c49863..eff2019cf 100644 --- a/modules/programs/msmtp.nix +++ b/modules/programs/msmtp.nix @@ -66,7 +66,7 @@ in config = mkIf cfg.enable { home.packages = [ pkgs.msmtp ]; - home.file.".msmtprc".text = configFile msmtpAccounts; + xdg.configFile."msmtp/config".text = configFile msmtpAccounts; home.sessionVariables = { MSMTP_QUEUE = "${config.xdg.dataHome}/msmtp/queue";