summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-03-24 12:19:52 +0100
committerlassulus <lassulus@lassul.us>2018-03-24 12:19:52 +0100
commitd810727b985bbdce57ae2de515111949c141c3bd (patch)
treee52b7129ff6fbec42caed1326c2f69715a02a2d5
parentb27dfa5a37b1345d36b57aa24b940287293418e0 (diff)
exim: krebs.setuid -> security.wrappers
-rw-r--r--krebs/3modules/exim.nix12
1 files changed, 3 insertions, 9 deletions
diff --git a/krebs/3modules/exim.nix b/krebs/3modules/exim.nix
index cfcbbc438..274a943b1 100644
--- a/krebs/3modules/exim.nix
+++ b/krebs/3modules/exim.nix
@@ -50,15 +50,9 @@ in {
'';
systemPackages = [ pkgs.exim ];
};
- krebs.setuid = {
- exim = {
- filename = "${pkgs.exim}/bin/exim";
- mode = "4111";
- };
- sendmail = {
- filename = "${pkgs.exim}/bin/exim";
- mode = "4111";
- };
+ security.wrappers = {
+ exim.source = "${pkgs.exim}/bin/exim";
+ sendmail.source = "${pkgs.exim}/bin/exim";
};
systemd.services.exim = {
restartTriggers = [