summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-24 15:07:11 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-24 15:07:11 +0200
commita8dfd6f51aa01183e118de1a3b648aef7107df88 (patch)
treec4e055be902167287d6da78b9494237c05b45fb4 /ymir.nix
parentce7fc4badee5e9ec7512ce07fe00cb54e20c8aab (diff)
downloadnixos-a8dfd6f51aa01183e118de1a3b648aef7107df88.tar
nixos-a8dfd6f51aa01183e118de1a3b648aef7107df88.tar.gz
nixos-a8dfd6f51aa01183e118de1a3b648aef7107df88.tar.bz2
nixos-a8dfd6f51aa01183e118de1a3b648aef7107df88.tar.xz
nixos-a8dfd6f51aa01183e118de1a3b648aef7107df88.zip
poke ymir
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index b4590736..c3cb93e7 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -355,6 +355,11 @@ in rec {
355 }; 355 };
356 }; 356 };
357 }; 357 };
358
359 systemd.services."uwsgi" = {
360 wantedBy = [ "nginx.service" ];
361 before = [ "nginx.service" ];
362 };
358 363
359 users.extraUsers."uwsgi".extraGroups = ["gitolite"]; 364 users.extraUsers."uwsgi".extraGroups = ["gitolite"];
360 365
@@ -640,7 +645,7 @@ in rec {
640 privileged = true; 645 privileged = true;
641 chroot = false; 646 chroot = false;
642 command = "spawn"; 647 command = "spawn";
643 args = [ "user=nobody" ''argv=${pkgs.pypolicyd-spf}/bin/policyd-spf ${./ymir/spf.conf}'' ]; 648 args = [ "user=nobody" "argv=${pkgs.pypolicyd-spf}/bin/policyd-spf ${./ymir/spf.conf}" ];
644 }; 649 };
645 }; 650 };
646 networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; 651 networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"];