depot/cluster/services/idm/default.nix

38 lines
757 B
Nix
Raw Permalink Normal View History

2023-06-11 22:33:53 +03:00
{ config, tools, ... }:
2023-06-10 18:54:03 +03:00
{
2023-06-11 22:33:53 +03:00
links = {
idm = {
ipv4 = "idm.${tools.meta.domain}";
port = 443;
protocol = "https";
};
ldap = {
hostname = "idm-ldap.internal.${tools.meta.domain}";
ipv4 = config.vars.mesh.VEGAS.meshIp;
port = 636;
protocol = "ldaps";
};
2023-06-10 18:54:03 +03:00
};
services.idm = {
nodes = {
server = [ "VEGAS" ];
2023-06-11 18:05:35 +03:00
client = [ "checkmate" "VEGAS" "prophet" "soda" "thunderskin" ];
client-soda = [ "soda" ];
2023-06-10 18:54:03 +03:00
};
nixos = {
server = ./server.nix;
2023-06-11 03:00:46 +03:00
client = [
./client.nix
./modules/idm-nss-ready.nix
./modules/idm-tmpfiles.nix
2023-06-11 03:00:46 +03:00
./policies/infra-admins.nix
];
client-soda = [
./policies/soda.nix
];
2023-06-10 18:54:03 +03:00
};
};
}