diff options
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"; }; |
