Compare commits

..

2 Commits

Author SHA1 Message Date
h7x4
48a5f4e79e
bicep/git-mirrors: move to mirrors.pvv.ntnu.no 2025-05-30 12:59:32 +02:00
h7x4
29c4029486
bicep/git-mirrors: disable lfs by default 2025-05-30 12:45:40 +02:00

View File

@ -17,7 +17,7 @@ in
zip = false; zip = false;
keep = 10; keep = 10;
bare = true; bare = true;
lfs = true; lfs = false;
}; };
instances = let instances = let
@ -59,7 +59,7 @@ in
}; };
services.cgit = let services.cgit = let
domain = "bicep.pvv.ntnu.no"; domain = "mirrors.pvv.ntnu.no";
in { in {
${domain} = { ${domain} = {
enable = true; enable = true;
@ -81,7 +81,7 @@ in
}; };
}; };
services.nginx.virtualHosts."bicep.pvv.ntnu.no" = { services.nginx.virtualHosts."mirrors.pvv.ntnu.no" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
@ -94,7 +94,7 @@ in
in toString small-pvv-logo; in toString small-pvv-logo;
}; };
systemd.services."fcgiwrap-cgit-bicep.pvv.ntnu.no" = { systemd.services."fcgiwrap-cgit-mirrors.pvv.ntnu.no" = {
serviceConfig.BindReadOnlyPaths = [ cfg.dataDir ]; serviceConfig.BindReadOnlyPaths = [ cfg.dataDir ];
}; };
} }