diff options
author | lassulus <lassulus@lassul.us> | 2018-03-27 21:35:27 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-03-27 21:35:27 +0200 |
commit | 7e62c44607f193d3c9740f7c56df976b0db3c417 (patch) | |
tree | 96ec6db03e62d4cdb52e034ffb4f015964bf2b76 /krebs | |
parent | 28a597345107e458b95b62671af423ae369e234e (diff) |
Revert "exim: krebs.setuid -> security.wrappers"
This reverts commit d810727b985bbdce57ae2de515111949c141c3bd.
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/3modules/exim.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/krebs/3modules/exim.nix b/krebs/3modules/exim.nix index 274a943b1..cfcbbc438 100644 --- a/krebs/3modules/exim.nix +++ b/krebs/3modules/exim.nix @@ -50,9 +50,15 @@ in { ''; systemPackages = [ pkgs.exim ]; }; - security.wrappers = { - exim.source = "${pkgs.exim}/bin/exim"; - sendmail.source = "${pkgs.exim}/bin/exim"; + krebs.setuid = { + exim = { + filename = "${pkgs.exim}/bin/exim"; + mode = "4111"; + }; + sendmail = { + filename = "${pkgs.exim}/bin/exim"; + mode = "4111"; + }; }; systemd.services.exim = { restartTriggers = [ |