diff --git a/cluster/services/gitlab/default.nix b/cluster/services/gitlab/default.nix index a0c4eef..fd1c416 100644 --- a/cluster/services/gitlab/default.nix +++ b/cluster/services/gitlab/default.nix @@ -1,5 +1,10 @@ { depot, ... }: { + services.gitlab = { + nodes.host = [ "VEGAS" ]; + nixos.host = ./host.nix; + }; + dns.records.git.target = [ depot.hours.VEGAS.interfaces.primary.addrPublic ]; } diff --git a/hosts/VEGAS/services/gitlab/default.nix b/cluster/services/gitlab/host.nix similarity index 98% rename from hosts/VEGAS/services/gitlab/default.nix rename to cluster/services/gitlab/host.nix index 6bd77f4..85f548c 100644 --- a/hosts/VEGAS/services/gitlab/default.nix +++ b/cluster/services/gitlab/host.nix @@ -9,7 +9,7 @@ let owner = "gitlab"; group = "gitlab"; mode = "0400"; - file = ../../../../secrets/${name}.age; + file = ../../../secrets/${name}.age; }; secrets = lib.mapAttrs (_: v: v.path) config.age.secrets; diff --git a/hosts/VEGAS/system.nix b/hosts/VEGAS/system.nix index 6b7a86a..e601dcf 100644 --- a/hosts/VEGAS/system.nix +++ b/hosts/VEGAS/system.nix @@ -18,7 +18,6 @@ ./services/backbone-routing ./services/bitwarden ./services/cdn-shield - ./services/gitlab ./services/jokes ./services/mail ./services/minecraft