dotfiles/nix/hosts/hetznix/networking.nix

20 lines
263 B
Nix
Raw Permalink Normal View History

2025-01-10 00:09:51 +00:00
{
networking = {
firewall.allowedTCPPorts = [
80
443
];
interfaces.enp1s0 = {
useDHCP = true;
ipv4.addresses = [
{
address = "116.203.11.255";
prefixLength = 32;
}
];
};
};
}