mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
msmtp: use XDG config directory
This commit is contained in:
parent
a334a941c4
commit
a3462daeb1
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ in
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = [ pkgs.msmtp ];
|
home.packages = [ pkgs.msmtp ];
|
||||||
|
|
||||||
home.file.".msmtprc".text = configFile msmtpAccounts;
|
xdg.configFile."msmtp/config".text = configFile msmtpAccounts;
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
MSMTP_QUEUE = "${config.xdg.dataHome}/msmtp/queue";
|
MSMTP_QUEUE = "${config.xdg.dataHome}/msmtp/queue";
|
||||||
|
|
Loading…
Reference in a new issue