diff options
Diffstat (limited to 'ymir.nix')
-rw-r--r-- | ymir.nix | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -303,7 +303,9 @@ in rec { | |||
303 | threads = 8; | 303 | threads = 8; |
304 | chdir = "${pkgs.cgit}/cgit"; | 304 | chdir = "${pkgs.cgit}/cgit"; |
305 | cgi = "${pkgs.cgit}/cgit/cgit.cgi"; | 305 | cgi = "${pkgs.cgit}/cgit/cgit.cgi"; |
306 | env = "CGIT_CONFIG=/etc/cgit/git.yggdrasil.li"; | 306 | env = { |
307 | "CGIT_CONFIG" = "/etc/cgit/git.yggdrasil.li"; | ||
308 | }; | ||
307 | socket = "/tmp/git.yggdrasil.li.sock"; | 309 | socket = "/tmp/git.yggdrasil.li.sock"; |
308 | chmod-socket = "660"; | 310 | chmod-socket = "660"; |
309 | chown-socket = "uwsgi:nginx"; | 311 | chown-socket = "uwsgi:nginx"; |
@@ -314,7 +316,9 @@ in rec { | |||
314 | threads = 8; | 316 | threads = 8; |
315 | chdir = "${pkgs.cgit}/cgit"; | 317 | chdir = "${pkgs.cgit}/cgit"; |
316 | cgi = "${pkgs.cgit}/cgit/cgit.cgi"; | 318 | cgi = "${pkgs.cgit}/cgit/cgit.cgi"; |
317 | env = "CGIT_CONFIG=/etc/cgit/git.rheperire.org"; | 319 | env = { |
320 | "CGIT_CONFIG" = "/etc/cgit/git.rheperire.org"; | ||
321 | }; | ||
318 | socket = "/tmp/git.rheperire.org.sock"; | 322 | socket = "/tmp/git.rheperire.org.sock"; |
319 | chmod-socket = "660"; | 323 | chmod-socket = "660"; |
320 | chown-socket = "uwsgi:nginx"; | 324 | chown-socket = "uwsgi:nginx"; |