20 lines
369 B
Nix
20 lines
369 B
Nix
|
{ ... }:
|
||
|
{
|
||
|
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;
|
||
|
};
|
||
|
}
|