diff options
| author | Franck Cuny <franck@fcuny.net> | 2026-01-04 11:44:22 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2026-01-04 11:44:22 -0800 |
| commit | 37df3c6d9f8a52b45d5df9231cb8b82c7ec1b92c (patch) | |
| tree | ded06edee8f28ad7df066d488c29473da50971d7 /profiles/git-server.nix | |
| parent | flake.lock: Update (diff) | |
| download | infra-37df3c6d9f8a52b45d5df9231cb8b82c7ec1b92c.tar.gz | |
configure cgit correctly
https://github.com/NixOS/nixpkgs/pull/475112
Diffstat (limited to 'profiles/git-server.nix')
| -rw-r--r-- | profiles/git-server.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/profiles/git-server.nix b/profiles/git-server.nix index 0d02d8a..504027a 100644 --- a/profiles/git-server.nix +++ b/profiles/git-server.nix @@ -52,6 +52,7 @@ in services.cgit.main = { enable = true; package = pkgs.cgit; + gitHttpBackend.checkExportOkFiles = true; user = "git"; group = "git"; nginx.virtualHost = "code.fcuny.net"; @@ -86,6 +87,7 @@ in max-repo-count = 500; repository-sort = "age"; snapshots = "tar.gz"; + strict-export = "git-daemon-export-ok"; root-title = "¯\\_(ツ)_/¯"; root-desc = "source code of my various projects"; }; |
