depot/hosts/thunderskin/default.nix
2024-08-01 20:47:57 +02:00

41 lines
765 B
Nix

tools: rec {
ssh.enable = true;
ssh.id = with tools.dns; {
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGV8TbMvGXfAp9R2I9GdR7aLlGjxh2CW1pCZjQSB4TJp";
hostNames = subResolve "thunderskin" "node";
};
interfaces = {
primary = {
addr = "10.0.243.121";
addrPublic = "140.238.208.154";
link = "ens3";
};
vstub = {
addr = "10.1.0.4";
link = "vstub";
};
};
hardware = {
cpu.cores = 1;
memory.gb = 1;
};
hyprspace = {
enable = true;
id = "12D3KooWB9AUPorFoACkWbphyargRBV9osJsYuQDumtQ85j7Aqmg";
listenPort = 995;
routes = [
"${interfaces.vstub.addr}/32"
];
};
enterprise = {
subdomain = "node";
};
system = "x86_64-linux";
nixos = ./system.nix;
}