puter/hosts/headless/abacus/networking.nix

19 lines
349 B
Nix
Raw Normal View History

2024-12-01 03:05:16 +00:00
{
2024-02-04 20:51:11 +00:00
networking = let
interface = "enp1s0";
in {
domain = "wrz.one";
interfaces.${interface}.ipv6.addresses = [
{
address = "2a01:4f9:c012:92b5::2";
prefixLength = 64;
}
];
defaultGateway6 = {
address = "fe80::1";
inherit interface;
};
firewall.allowedTCPPorts = [80 443];
};
}