diff options
| author | Skullheadx <admonty1@protonmail.com> | 2026-06-02 00:33:10 -0400 |
|---|---|---|
| committer | Skullheadx <admonty1@protonmail.com> | 2026-06-02 00:33:10 -0400 |
| commit | ed503184470c6af6b4b4485aaed0ba6e6b814564 (patch) | |
| tree | c46f97e201ba2ba4e40d15a9d03194c76567ad03 /hosts | |
| parent | change project root for gitweb to /repos (diff) | |
| download | nixos-ed503184470c6af6b4b4485aaed0ba6e6b814564.tar.gz nixos-ed503184470c6af6b4b4485aaed0ba6e6b814564.tar.bz2 nixos-ed503184470c6af6b4b4485aaed0ba6e6b814564.zip | |
change to /srv/git/repos
Diffstat (limited to '')
| -rw-r--r-- | hosts/icon/configuration.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/icon/configuration.nix b/hosts/icon/configuration.nix index 1edaaac..5407b3d 100644 --- a/hosts/icon/configuration.nix +++ b/hosts/icon/configuration.nix @@ -47,7 +47,7 @@ users.users.nginx.extraGroups = ["git"]; systemd.services.nginx.serviceConfig = { SupplementaryGroups = ["git"]; - ReadOnlyPaths = ["/srv/git" "/srv"]; + ReadOnlyPaths = ["/srv/git/repos" "/srv" "/srv/git"]; }; # systemd.services.fcgiwrap.serviceConfig.ReadOnlyPaths = ["/srv/git"]; # Define a user account. Don't forget to set a password with ‘passwd’. @@ -78,7 +78,7 @@ $site_name = "Skullheadx\'s Git Forge"; $omit_owner = 1; $default_projects_order = "age"; - $export_ok = "git-daemon-export-okt"; + $export_ok = "git-daemon-export-ok"; ''; }; @@ -103,7 +103,7 @@ services.gitDaemon = { enable = true; - basePath = "/srv/git"; + basePath = "/srv/git/repos"; listenAddress = "10.0.0.2"; exportAll = false; }; |
