depot/hosts/grail/default.nix

35 lines
665 B
Nix
Raw Normal View History

2023-11-04 02:04:30 +02:00
tools: rec {
2023-11-04 01:24:43 +02:00
ssh.enable = true;
ssh.id = with tools.dns; {
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBi5Fm2pmMBhRgJms+me1ldt9Vgj9cMSnB7UllSz3mpY";
hostNames = subResolve "grail" "node";
};
interfaces = {
primary = {
addr = "37.27.11.202";
link = "enp1s0";
};
vstub = {
addr = "10.1.0.6";
link = "vstub";
};
};
2023-11-04 02:04:30 +02:00
hyprspace = {
enable = true;
id = "12D3KooWN31twBvdEcxz2jTv4tBfPe3mkNueBwDJFCN4xn7ZwFbi";
listenPort = 995;
routes = [
"${interfaces.vstub.addr}/32"
];
};
2023-11-04 01:24:43 +02:00
enterprise = {
subdomain = "node";
};
system = "aarch64-linux";
nixos = ./system.nix;
}