35 lines
689 B
Nix
35 lines
689 B
Nix
tools: rec {
|
|
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";
|
|
};
|
|
};
|
|
|
|
hyprspace = {
|
|
enable = true;
|
|
id = "QmYs4xNBby2fTs8RnzfXEk161KD4mftBfCiR8yXtgGPj4J";
|
|
listenPort = 995;
|
|
routes = [
|
|
"${interfaces.vstub.addr}/32"
|
|
"10.10.0.0/16"
|
|
];
|
|
};
|
|
|
|
enterprise = {
|
|
subdomain = "backbone";
|
|
};
|
|
|
|
system = "x86_64-linux";
|
|
nixos = ./system.nix;
|
|
}
|