try with dhcp
This commit is contained in:
@@ -119,10 +119,10 @@ in
|
|||||||
config = { lib, config, pkgs, ... }: {
|
config = { lib, config, pkgs, ... }: {
|
||||||
networking = {
|
networking = {
|
||||||
# hostName = "gitea";
|
# hostName = "gitea";
|
||||||
# interfaces.eth0.useDHCP = true;
|
interfaces.mv-vserver.useDHCP = true;
|
||||||
interfaces.mv-vserver = {
|
# interfaces.mv-vserver = {
|
||||||
ipv4.addresses = [ { address = "10.42.97.2"; prefixLength = 24; } ];
|
# ipv4.addresses = [ { address = "10.42.97.2"; prefixLength = 24; } ];
|
||||||
};
|
# };
|
||||||
# firewall = {
|
# firewall = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# allowedTCPPorts = [ 22 80 443 ];
|
# allowedTCPPorts = [ 22 80 443 ];
|
||||||
|
|||||||
Reference in New Issue
Block a user