krebs filebitch.r: use dhcp for interface

This commit is contained in:
makefu 2023-06-03 15:46:17 +02:00
parent e488cfc13b
commit ac9006fac2
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -35,12 +35,13 @@ in
''; '';
networking = { networking = {
firewall.enable = true; firewall.enable = true;
interfaces.et0.ipv4.addresses = [ interfaces.et0.useDHCP = true;
{ #interfaces.et0.ipv4.addresses = [
address = shack-ip; # {
prefixLength = 20; # address = shack-ip;
} # prefixLength = 20;
]; # }
#];
defaultGateway = "10.42.0.1"; defaultGateway = "10.42.0.1";
nameservers = [ "10.42.0.100" "10.42.0.200" ]; nameservers = [ "10.42.0.100" "10.42.0.200" ];