mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-01-13 10:58:24 +01:00
Compare commits
2 Commits
pvvvvv
...
48a5f4e79e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48a5f4e79e | ||
|
|
29c4029486 |
@@ -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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user