depot/cluster/services/sso/default.nix

16 lines
262 B
Nix
Raw Normal View History

2023-12-04 00:53:10 +02:00
{ depot, ... }:
{
services.sso = {
nodes.host = [ "VEGAS" ];
nixos.host = ./host.nix;
};
2023-12-04 00:53:10 +02:00
dns.records = let
ssoAddr = [ depot.hours.VEGAS.interfaces.primary.addrPublic ];
in {
login.target = ssoAddr;
account.target = ssoAddr;
};
}