depot/hosts/checkmate/default.nix

41 lines
762 B
Nix
Raw Normal View History

tools: rec {
2023-02-24 16:16:15 +02:00
ssh.enable = true;
2023-03-01 01:12:08 +02:00
ssh.id = with tools.dns; {
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINImnMfEzUBU5qiuu05DMPrddTGypOtr+cL1/yQN2GFn";
hostNames = subResolve "checkmate" "node";
};
interfaces = {
primary = {
addr = "10.0.243.198";
addrPublic = "152.67.73.164";
link = "ens3";
};
vstub = {
addr = "10.1.0.32";
link = "vstub";
};
2023-03-01 01:12:08 +02:00
};
2024-08-01 21:47:57 +03:00
hardware = {
cpu.cores = 1;
memory.gb = 1;
};
2023-02-24 16:16:15 +02:00
hyprspace = {
enable = true;
2023-03-01 22:51:49 +02:00
id = "12D3KooWL84sAtq1QTYwb7gVbhSNX5ZUfVt4kgYKz8pdif1zpGUh";
listenPort = 995;
routes = [
"${interfaces.vstub.addr}/32"
];
2023-03-01 22:51:49 +02:00
};
2023-03-01 01:12:08 +02:00
enterprise = {
subdomain = "node";
};
2023-02-24 16:16:15 +02:00
system = "x86_64-linux";
nixos = ./system.nix;
2023-03-01 01:12:08 +02:00
}