diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-24 15:07:11 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-24 15:07:11 +0200 |
commit | a8dfd6f51aa01183e118de1a3b648aef7107df88 (patch) | |
tree | c4e055be902167287d6da78b9494237c05b45fb4 /ymir.nix | |
parent | ce7fc4badee5e9ec7512ce07fe00cb54e20c8aab (diff) | |
download | nixos-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.nix | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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"]; |