depot/hosts/prophet/default.nix

41 lines
757 B
Nix
Raw Permalink Normal View History

tools: rec {
2023-02-24 16:16:15 +02:00
ssh.enable = true;
2022-02-03 21:21:17 +02:00
ssh.id = with tools.dns; {
2023-04-12 20:08:46 +03:00
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAUG/ubwo68tt2jMP5ia0Sa4mnkWtlKVN5n4Y50U2nTC";
2022-02-03 21:21:17 +02:00
hostNames = subResolve "prophet" "node";
};
interfaces = {
primary = {
2023-04-12 20:08:46 +03:00
addr = "10.0.243.216";
addrPublic = "152.67.75.145";
link = "enp0s6";
2022-02-03 21:21:17 +02:00
};
vstub = {
addr = "10.1.0.9";
link = "vstub";
};
2022-02-03 21:21:17 +02:00
};
2024-08-01 21:47:57 +03:00
hardware = {
cpu.cores = 4;
memory.gb = 24;
};
2023-02-24 16:16:15 +02:00
hyprspace = {
enable = true;
2022-02-05 20:09:35 +02:00
id = "QmbrAHuh4RYcyN9fWePCZMVmQjbaNXtyvrDCWz4VrchbXh";
2022-09-24 14:25:00 +03:00
listenPort = 995;
routes = [
"${interfaces.vstub.addr}/32"
];
2022-02-05 20:09:35 +02:00
};
2022-02-03 21:21:17 +02:00
enterprise = {
subdomain = "node";
};
2023-02-24 16:16:15 +02:00
system = "aarch64-linux";
nixos = ./system.nix;
2022-02-03 21:21:17 +02:00
}