try with dhcp
This commit is contained in:
parent
3befd4ebb8
commit
f5a2793533
1 changed files with 4 additions and 4 deletions
|
|
@ -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 ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue