From cd92d6c9394f34dd0e95eee9fbd239dec265dfba Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Thu, 12 Mar 2026 13:26:21 -0400 Subject: [PATCH] changed forgejo shell --- src/system/modules/forgejo/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/system/modules/forgejo/default.nix b/src/system/modules/forgejo/default.nix index b6500f0..9542d95 100644 --- a/src/system/modules/forgejo/default.nix +++ b/src/system/modules/forgejo/default.nix @@ -19,7 +19,7 @@ in isSystemUser = true; group = "git"; home = "/var/lib/forgejo"; - shell = "${pkgs.git}/bin/git-shell"; + shell = "${pkgs.shadow}/bin/nologin"; }; users.users.nginx = mkIf nginx.enable { @@ -28,6 +28,7 @@ in systemd.tmpfiles.rules = [ "d /var/lib/forgejo 0750 git git -" + "d /var/lib/forgejo/.ssh 0700 git git -" "d /var/lib/forgejo/custom 0750 git git -" "d /var/lib/forgejo/data 0750 git git -" ];