summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-03-27 21:35:27 +0200
committerlassulus <lassulus@lassul.us>2018-03-27 21:35:27 +0200
commit7e62c44607f193d3c9740f7c56df976b0db3c417 (patch)
tree96ec6db03e62d4cdb52e034ffb4f015964bf2b76 /krebs/3modules
parent28a597345107e458b95b62671af423ae369e234e (diff)
Revert "exim: krebs.setuid -> security.wrappers"
This reverts commit d810727b985bbdce57ae2de515111949c141c3bd.
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/exim.nix12
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 = [