try networkd

This commit is contained in:
2026-01-16 19:15:29 -06:00
parent 6cd5770452
commit 265a526c8b

View File

@@ -127,11 +127,16 @@
};
systemd.network = {
enable = true;
networks."eth0@if24" = {
linkConfig.RequiredForOnline = "yes";
};
};
networking = {
firewall.allowedTCPPorts = [ 5335 ];
firewall.allowedUDPPorts = [ 5335 ];
nameservers = [ "1.1.1.1" "1.0.0.1" ];
};
system.stateVersion = "25.05";