diff --git a/modules/system/homelab/git.nix b/modules/system/homelab/git.nix index 81f7251..1903a4f 100644 --- a/modules/system/homelab/git.nix +++ b/modules/system/homelab/git.nix @@ -52,12 +52,16 @@ url = "https://git.proxy.${homelab.domain}"; tokenFile = "/root/forgejo-token-runner"; labels = [ "nixos-server" ]; - hostPackages = with pkgs; [ bash coreutils git nix nodejs ]; + hostPackages = with pkgs; [ bash coreutils git nix nodejs sudo ]; + container.enable = false; }; }; - systemd.services."gitea-runner-nixos-deploy".serviceConfig = { - NoNewPrivileges = lib.mkForce false; - RestrictSUIDSGID = lib.mkForce false; - PrivateUsers = lib.mkForce false; + systemd.services."gitea-runner-nixos-deploy" = { + restartIfChanged = false; + serviceConfig = { + NoNewPrivileges = lib.mkForce false; + RestrictSUIDSGID = lib.mkForce false; + PrivateUsers = lib.mkForce false; + }; }; }