From: Skullheadx Date: Tue, 2 Jun 2026 04:33:10 +0000 (-0400) Subject: change to /srv/git/repos X-Git-Url: http://git.skullheadx.com/about.html?a=commitdiff_plain;h=ed503184470c6af6b4b4485aaed0ba6e6b814564;p=nixos.git change to /srv/git/repos --- 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; };