From ed503184470c6af6b4b4485aaed0ba6e6b814564 Mon Sep 17 00:00:00 2001 From: Skullheadx Date: Tue, 2 Jun 2026 00:33:10 -0400 Subject: [PATCH] change to /srv/git/repos --- hosts/icon/configuration.nix | 6 +++--- 1 file 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; }; -- 2.54.0