diff options
author | makefu <github@syntax-fehler.de> | 2023-06-03 15:46:17 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2023-06-03 15:46:17 +0200 |
commit | ac9006fac2947a8e4e6ecd5df0b8775b34859bd9 (patch) | |
tree | 9a40f0172189891b4ac2fc40bcbb977854adbb06 | |
parent | e488cfc13ba8beb6fe1f79032288d47079a73f72 (diff) |
krebs filebitch.r: use dhcp for interface
-rw-r--r-- | krebs/1systems/filebitch/config.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/krebs/1systems/filebitch/config.nix b/krebs/1systems/filebitch/config.nix index e27d036c8..a71e14f3e 100644 --- a/krebs/1systems/filebitch/config.nix +++ b/krebs/1systems/filebitch/config.nix @@ -35,12 +35,13 @@ in ''; networking = { firewall.enable = true; - interfaces.et0.ipv4.addresses = [ - { - address = shack-ip; - prefixLength = 20; - } - ]; + interfaces.et0.useDHCP = true; + #interfaces.et0.ipv4.addresses = [ + # { + # address = shack-ip; + # prefixLength = 20; + # } + #]; defaultGateway = "10.42.0.1"; nameservers = [ "10.42.0.100" "10.42.0.200" ]; |