This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / 2configs / services / git / default.nix
758 B 29 lines
1{ config, pkgs, ... }: 2{ 3 imports = [ 4 ../../git.nix 5 ]; 6 services.nginx.virtualHosts."cgit.lassul.us" = { 7 enableACME = true; 8 addSSL = true; 9 locations = config.services.nginx.virtualHosts.cgit.locations; 10 extraConfig = '' 11 client_max_body_size 300M; 12 client_body_timeout 2024; 13 client_header_timeout 2024; 14 15 fastcgi_buffers 16 512k; 16 fastcgi_buffer_size 512k; 17 fastcgi_read_timeout 500; 18 fastcgi_send_timeout 500; 19 ''; 20 }; 21 systemd.tmpfiles.settings."cgit"."/tmp/cgit".d = { 22 mode = "0755"; 23 user = "git"; 24 group = "git"; 25 }; 26 krebs.git.cgit.fcgiwrap.group.name = "git"; 27 krebs.git.cgit.fcgiwrap.user.name = "git"; 28 krebs.git.cgit.fcgiwrap.user.home = toString pkgs.emptyDirectory; 29}