try with dhcp

This commit is contained in:
2023-12-04 12:44:58 +01:00
parent 3befd4ebb8
commit f5a2793533

View File

@@ -119,10 +119,10 @@ in
config = { lib, config, pkgs, ... }: {
networking = {
# hostName = "gitea";
# interfaces.eth0.useDHCP = true;
interfaces.mv-vserver = {
ipv4.addresses = [ { address = "10.42.97.2"; prefixLength = 24; } ];
};
interfaces.mv-vserver.useDHCP = true;
# interfaces.mv-vserver = {
# ipv4.addresses = [ { address = "10.42.97.2"; prefixLength = 24; } ];
# };
# firewall = {
# enable = true;
# allowedTCPPorts = [ 22 80 443 ];