nix-infra/hosts/tor-relay/configuration.nix
2023-07-15 23:29:49 +02:00

27 lines
435 B
Nix

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