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 = { matchSets = {
appdaemon = lib.mkEnableOption "Enable AppDaemon SSH targets"; appdaemon = lib.mkEnableOption "Enable AppDaemon SSH targets";
certs = lib.mkEnableOption "Enable Janus and Soteria SSH targets"; certs = lib.mkEnableOption "Enable Janus and Soteria SSH targets";
homelab = lib.mkEnableOption "Enable various Homelab targets";
}; };
}; };
@@ -68,6 +69,10 @@ in
"appdaemon" = { "appdaemon" = {
hostname = "192.168.1.242"; hostname = "192.168.1.242";
}; };
"ad-nix" = {
hostname = "192.168.1.201";
user = "appdaemon";
};
}) })
(lib.mkIf config.ssh.matchSets.certs { (lib.mkIf config.ssh.matchSets.certs {
"janus" = { "janus" = {
@@ -79,6 +84,24 @@ in
user = "john"; 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";
};
})
]; ];
}; };
}; };