From b2b016d2a713eb54b64b0f2f3e3fa01d7b426732 Mon Sep 17 00:00:00 2001 From: Tobias Stenzel Date: Tue, 8 Aug 2023 23:46:59 +0200 Subject: [PATCH] gitlab: remove service dependency override which is now upstream PL-131682 --- nixos/roles/gitlab.nix | 8 -------- 1 file changed, 8 deletions(-) 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 != []) {