depot/hosts/VEGAS/default.nix

41 lines
749 B
Nix
Raw Permalink Normal View History

tools: rec {
2023-02-24 16:16:15 +02:00
ssh.enable = true;
ssh.id = with tools.dns; {
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICz2nGA+Y4OxhMKsV6vKIns3hOoBkK557712h7FfWXcE";
hostNames = subResolve "vegas" "backbone";
};
interfaces = {
primary = {
addr = "95.216.8.12";
link = "enp0s31f6";
};
vstub = {
addr = "10.1.0.1";
link = "vstub";
};
};
2024-08-01 21:47:57 +03:00
hardware = {
cpu.cores = 8;
memory.gb = 64;
};
2023-02-24 16:16:15 +02:00
hyprspace = {
enable = true;
2021-11-13 13:33:25 +02:00
id = "QmYs4xNBby2fTs8RnzfXEk161KD4mftBfCiR8yXtgGPj4J";
2022-09-24 14:04:43 +03:00
listenPort = 995;
routes = [
"${interfaces.vstub.addr}/32"
"10.10.0.0/16"
];
2021-11-13 13:33:25 +02:00
};
enterprise = {
subdomain = "backbone";
};
2023-02-24 16:16:15 +02:00
system = "x86_64-linux";
nixos = ./system.nix;
}