nix-infra/hosts/tor-relay/configuration.nix

27 lines
435 B
Nix
Raw Normal View History

2024-11-20 05:46:39 +01:00
{ ... }:
2024-11-20 05:46:39 +01:00
{
2024-11-20 05:46:39 +01:00
boot.loader.grub = {
enable = true;
device = "/dev/vda";
};
2024-11-20 05:46:39 +01:00
networking = {
2024-11-20 05:46:39 +01:00
interfaces = {
"enp6s18".ipv6.addresses = [{
address = "2001:470:5429::B3";
prefixLength = 64;
}];
};
defaultGateway6 = {
address = "2001:470:5429::1";
interface = "enp6s18";
};
2024-11-20 05:46:39 +01:00
hostName = "tor-relay";
firewall.enable = false;
};
system.stateVersion = "23.05";
}