diff options
author | lassulus <lass@aidsballs.de> | 2016-04-19 13:37:23 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-04-19 13:37:23 +0200 |
commit | b5f18ab839432b07a88ee34e0e98dc343a50e854 (patch) | |
tree | cecf43fd026cceb86c5fb8c968fc72fdf47b7d8b /lass/2configs | |
parent | cafbb3102b53c925734dcc48ac30f87e972ee3f4 (diff) |
l 2 mail: use exec and writeDashBin
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/mail.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lass/2configs/mail.nix b/lass/2configs/mail.nix index ff4dff090..e29b6d9b2 100644 --- a/lass/2configs/mail.nix +++ b/lass/2configs/mail.nix @@ -10,8 +10,8 @@ let account default: prism ''; - msmtp = pkgs.writeScriptBin "msmtp" '' - ${pkgs.msmtp}/bin/msmtp -C ${msmtprc} $@ + msmtp = pkgs.writeDashBin "msmtp" '' + exec ${pkgs.msmtp}/bin/msmtp -C ${msmtprc} $@ ''; muttrc = pkgs.writeText "muttrc" '' @@ -74,8 +74,8 @@ let macro index ~ ,@( 'Toggle sidebar' # toggle the sidebar ''; - mutt = pkgs.writeScriptBin "mutt" '' - ${pkgs.mutt-kz}/bin/mutt -F ${muttrc} $@ + mutt = pkgs.writeDashBin "mutt" '' + exec ${pkgs.mutt-kz}/bin/mutt -F ${muttrc} $@ ''; in { |