infrastructure/machines/public-cof/networking.nix

20 lines
369 B
Nix
Raw Normal View History

2021-11-13 00:59:59 +01:00
{ ... }:
{
networking = {
hostName = "public-cof";
useDHCP = false;
interfaces.ens18 = {
useDHCP = true;
ipv6.addresses = [{
address = "2001:470:1f13:187:c08e:feff:fe4d:f5f5";
prefixLength = 64;
}];
};
firewall.allowedTCPPorts = [ 22 ];
firewall.allowedUDPPorts = [ 22 ];
firewall.enable = true;
};
}