2023-10-25 00:39:00 +03:00
|
|
|
tools: rec {
|
2023-02-24 16:16:15 +02:00
|
|
|
ssh.enable = true;
|
2021-10-16 19:34:11 +03:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
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;
|
2022-10-08 13:10:11 +03:00
|
|
|
routes = [
|
2023-10-25 00:39:00 +03:00
|
|
|
"${interfaces.vstub.addr}/32"
|
2022-10-08 13:10:11 +03:00
|
|
|
"10.10.0.0/16"
|
|
|
|
];
|
2021-11-13 13:33:25 +02:00
|
|
|
};
|
2021-10-16 19:34:11 +03:00
|
|
|
|
|
|
|
enterprise = {
|
|
|
|
subdomain = "backbone";
|
|
|
|
};
|
|
|
|
|
2023-02-24 16:16:15 +02:00
|
|
|
system = "x86_64-linux";
|
|
|
|
nixos = ./system.nix;
|
2021-10-16 19:34:11 +03:00
|
|
|
}
|