From f3dfc737e8b2bd4570b109d47f30a93f6f956abb Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 20 Jul 2024 23:04:19 +0200 Subject: [PATCH] cluster/services/sso: move from VEGAS/sso --- cluster/services/sso/default.nix | 5 +++++ .../sso/default.nix => cluster/services/sso/host.nix | 0 hosts/VEGAS/system.nix | 1 - 3 files changed, 5 insertions(+), 1 deletion(-) rename hosts/VEGAS/services/sso/default.nix => cluster/services/sso/host.nix (100%) diff --git a/cluster/services/sso/default.nix b/cluster/services/sso/default.nix index 45c2292..03b0cef 100644 --- a/cluster/services/sso/default.nix +++ b/cluster/services/sso/default.nix @@ -1,6 +1,11 @@ { depot, ... }: { + services.sso = { + nodes.host = [ "VEGAS" ]; + nixos.host = ./host.nix; + }; + dns.records = let ssoAddr = [ depot.hours.VEGAS.interfaces.primary.addrPublic ]; in { diff --git a/hosts/VEGAS/services/sso/default.nix b/cluster/services/sso/host.nix similarity index 100% rename from hosts/VEGAS/services/sso/default.nix rename to cluster/services/sso/host.nix diff --git a/hosts/VEGAS/system.nix b/hosts/VEGAS/system.nix index 3bd7bef..bcce2f3 100644 --- a/hosts/VEGAS/system.nix +++ b/hosts/VEGAS/system.nix @@ -20,7 +20,6 @@ ./services/jokes ./services/mail ./services/minecraft - ./services/sso ./services/websites ./services/wireguard-server depot.nixosModules.hyprspace