From db4fabc6b10816d096cc3371fd01a3e64eb5f438 Mon Sep 17 00:00:00 2001 From: Gabriel Fontes Date: Fri, 27 Oct 2023 22:11:17 -0300 Subject: [PATCH] hosts: no more static IPs I don't really host stuff on them anymore, and this messes up routing when using stuff such as usb tethering --- hosts/atlas/default.nix | 17 ----------------- hosts/maia/default.nix | 17 ----------------- 2 files changed, 34 deletions(-) diff --git a/hosts/atlas/default.nix b/hosts/atlas/default.nix index 710338a9..23167f97 100644 --- a/hosts/atlas/default.nix +++ b/hosts/atlas/default.nix @@ -20,23 +20,6 @@ networking = { hostName = "atlas"; useDHCP = true; - interfaces.enp8s0 = { - useDHCP = true; - wakeOnLan.enable = true; - - ipv4 = { - addresses = [{ - address = "192.168.0.12"; - prefixLength = 24; - }]; - }; - ipv6 = { - addresses = [{ - address = "2804:14d:8084:a484::2"; - prefixLength = 64; - }]; - }; - }; }; boot = { diff --git a/hosts/maia/default.nix b/hosts/maia/default.nix index 75e6096a..b86159e2 100644 --- a/hosts/maia/default.nix +++ b/hosts/maia/default.nix @@ -22,23 +22,6 @@ networking = { hostName = "maia"; useDHCP = true; - interfaces.enp2s0 = { - useDHCP = true; - wakeOnLan.enable = true; - - ipv4 = { - addresses = [{ - address = "192.168.0.13"; - prefixLength = 24; - }]; - }; - ipv6 = { - addresses = [{ - address = "2804:14d:8084:a484::3"; - prefixLength = 64; - }]; - }; - }; }; i18n.defaultLocale = "pt_BR.UTF-8";