2023-10-25 00:39:00 +03:00
|
|
|
tools: rec {
|
2023-03-20 20:52:07 +02:00
|
|
|
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";
|
|
|
|
};
|
2023-10-25 00:39:00 +03:00
|
|
|
vstub = {
|
|
|
|
addr = "10.1.0.4";
|
|
|
|
link = "vstub";
|
|
|
|
};
|
2023-03-20 20:52:07 +02:00
|
|
|
};
|
|
|
|
|
2024-08-01 21:47:57 +03:00
|
|
|
hardware = {
|
|
|
|
cpu.cores = 1;
|
|
|
|
memory.gb = 1;
|
|
|
|
};
|
|
|
|
|
2023-03-20 20:52:07 +02:00
|
|
|
hyprspace = {
|
|
|
|
enable = true;
|
|
|
|
id = "12D3KooWB9AUPorFoACkWbphyargRBV9osJsYuQDumtQ85j7Aqmg";
|
|
|
|
listenPort = 995;
|
2023-10-25 00:39:00 +03:00
|
|
|
routes = [
|
|
|
|
"${interfaces.vstub.addr}/32"
|
|
|
|
];
|
2023-03-20 20:52:07 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
enterprise = {
|
|
|
|
subdomain = "node";
|
|
|
|
};
|
|
|
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
nixos = ./system.nix;
|
|
|
|
}
|