summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-06-03 15:46:17 +0200
committermakefu <github@syntax-fehler.de>2023-06-03 15:46:17 +0200
commitac9006fac2947a8e4e6ecd5df0b8775b34859bd9 (patch)
tree9a40f0172189891b4ac2fc40bcbb977854adbb06 /krebs
parente488cfc13ba8beb6fe1f79032288d47079a73f72 (diff)
krebs filebitch.r: use dhcp for interface
Diffstat (limited to 'krebs')
-rw-r--r--krebs/1systems/filebitch/config.nix13
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" ];