{ networking = { useNetworkd = true; usePredictableInterfaceNames = true; hostName = "109-199-104-83"; firewall = { enable = true; allowedTCPPorts = [80 443]; allowedUDPPorts = [80 443]; }; }; systemd.network = { enable = true; networks."40-wan" = { matchConfig.Name = "enx0050565f4fff"; address = ["2a02:c207:2299:8419::1/64" "109.199.104.83/20"]; routes = [ { Gateway = "109.199.96.1"; GatewayOnLink = true; } {Gateway = "fe80::1";} ]; dns = ["2620:fe::fe" "9.9.9.9"]; }; }; }