diff --git a/nixos/roles/gitlab.nix b/nixos/roles/gitlab.nix index 4134a78a6..7753a80d9 100644 --- a/nixos/roles/gitlab.nix +++ b/nixos/roles/gitlab.nix @@ -213,16 +213,8 @@ in }; - # Needed for Git via SSH. users.users.gitlab.extraGroups = [ "login" ]; - - # ensure that gitlab is restarted again, when stopped due to a dependency - # (e.g. postgresql) being stopped and started again - systemd.services.gitlab = { - wantedBy = lib.mkForce []; - requiredBy = [ "gitlab.target" ]; - }; }) (lib.mkIf (cfg.enable && cfg.extraSecrets != []) {