2024-12-25 07:29:11 -06:00
|
|
|
{
|
2024-12-31 11:48:50 -06:00
|
|
|
router = {
|
|
|
|
ip-addrs = {
|
|
|
|
localnet = "192.168.1.1";
|
|
|
|
};
|
|
|
|
};
|
2024-12-25 07:29:11 -06:00
|
|
|
copernicus = {
|
|
|
|
pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILBGh1FHPneg7PCDkhMs2BCJPTIRVJkRTKpOj1w02ydD usr";
|
2024-12-31 12:14:17 -06:00
|
|
|
wg-privkey = ../secrets/copernicus-wg-priv.age;
|
2024-12-27 00:47:55 -06:00
|
|
|
wg-pubkey = "JlH1X4KRT+B8Uau+qTLtBqyapkbGClIj1db7znU77kc=";
|
2024-12-31 11:48:50 -06:00
|
|
|
ip-addrs = {
|
|
|
|
localnet = "192.168.1.201";
|
|
|
|
wgnet = "10.100.0.2";
|
|
|
|
};
|
2024-12-25 07:29:11 -06:00
|
|
|
};
|
|
|
|
phone = {
|
|
|
|
pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILuVT5W3kzjzsuMIWk1oeGtL8jZGtAhRSx8dK8oBJQcG u0_a291";
|
2024-12-31 11:48:50 -06:00
|
|
|
ip-addrs = {
|
|
|
|
localnet = "192.168.1.203";
|
|
|
|
};
|
2024-12-25 07:29:11 -06:00
|
|
|
};
|
|
|
|
aristotle = {
|
|
|
|
pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKTDyKneaM44I5to883ghEnnPonedCKDbCX+OnrQ9vO5 usr";
|
2024-12-27 00:47:55 -06:00
|
|
|
wg-pubkey = "Sw2yyMhyS8GOCWm1VuGn3Y7cfx606dXOGK5mux8ckQU=";
|
2024-12-31 11:48:50 -06:00
|
|
|
ip-addrs = {
|
|
|
|
localnet = "192.168.1.202";
|
|
|
|
wgnet = "10.100.0.3";
|
|
|
|
};
|
2024-12-27 00:47:55 -06:00
|
|
|
};
|
|
|
|
netbox = {
|
|
|
|
wg-privkey = ../secrets/netbox-wg-priv.age;
|
|
|
|
wg-pubkey = "0fOqAfsYO4HvshMPnlkKL7Z1RChq98hjDr0Q8o7OJFE=";
|
2024-12-31 11:48:50 -06:00
|
|
|
ip-addrs = {
|
|
|
|
internet = "beepboop.systems";
|
|
|
|
wgnet = "10.100.0.1";
|
|
|
|
};
|
2024-12-25 07:29:11 -06:00
|
|
|
};
|
2024-12-31 11:48:50 -06:00
|
|
|
|
|
|
|
mkHosts = machines: hostname: network:
|
|
|
|
builtins.listToAttrs [
|
|
|
|
{
|
|
|
|
"name" = (
|
|
|
|
builtins.getAttr network (
|
|
|
|
builtins.getAttr hostname machines
|
|
|
|
).ip-addrs
|
|
|
|
);
|
|
|
|
"value" = [ hostname ];
|
|
|
|
}
|
|
|
|
];
|
2024-12-25 07:29:11 -06:00
|
|
|
}
|