This commit is contained in:
2023-12-03 21:26:50 +01:00
parent 22a59d1028
commit bae3bb97fd

View File

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