homelab matchset

This commit is contained in:
John Lancaster
2026-02-16 12:40:41 -06:00
parent 0cfc1035e4
commit b8072f2d87

View File

@@ -16,6 +16,7 @@ in
matchSets = {
appdaemon = lib.mkEnableOption "Enable AppDaemon SSH targets";
certs = lib.mkEnableOption "Enable Janus and Soteria SSH targets";
homelab = lib.mkEnableOption "Enable various Homelab targets";
};
};
@@ -68,6 +69,10 @@ in
"appdaemon" = {
hostname = "192.168.1.242";
};
"ad-nix" = {
hostname = "192.168.1.201";
user = "appdaemon";
};
})
(lib.mkIf config.ssh.matchSets.certs {
"janus" = {
@@ -79,6 +84,24 @@ in
user = "john";
};
})
(lib.mkIf config.ssh.matchSets.homelab {
"docs" = {
hostname = "192.168.1.110";
user = "root";
};
"gitea" = {
hostname = "192.168.1.104";
user = "john";
};
"hermes" = {
hostname = "192.168.1.150";
user = "root";
};
"panoptes" = {
hostname = "192.168.1.107";
user = "panoptes";
};
})
];
};
};