try with dhcp
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user