{ systemd.network = { enable = true; networks."50-eth0" = { matchConfig.Name = "eth0"; networkConfig = { DHCP = "ipv4"; IPv6AcceptRA = true; }; linkConfig.RequiredForOnline = "routable"; }; }; networking = { # firewall = { firewall.enable = false; # interfaces = { # ygg0 = { # allowedTCPPorts = [ 22 ]; # allowedUDPPorts = [ ]; # }; # }; # # Default deny policy for all interfaces (including ygg0) # allowedTCPPorts = [ ]; # allowedUDPPorts = [ ]; # }; dhcpcd.enable = false; useDHCP = false; useHostResolvConf = false; }; }