diff --git a/hosts/Infini-DESKTOP/default.nix b/hosts/Infini-DESKTOP/default.nix index 8c1f9eb..c765dfd 100644 --- a/hosts/Infini-DESKTOP/default.nix +++ b/hosts/Infini-DESKTOP/default.nix @@ -64,11 +64,6 @@ virtualization.enable = true; }; - networking.interfaces = { - eth0.useDHCP = true; - wlp41s0.useDHCP = true; - }; - home = { profiles, pkgs, ... }: { imports = with profiles; [ stretchly ]; home.packages = with pkgs; [ diff --git a/hosts/Infini-FRAMEWORK/default.nix b/hosts/Infini-FRAMEWORK/default.nix index 9add282..bb7fb22 100644 --- a/hosts/Infini-FRAMEWORK/default.nix +++ b/hosts/Infini-FRAMEWORK/default.nix @@ -54,8 +54,6 @@ virtualization.enable = true; }; - networking.interfaces.wlp170s0.useDHCP = true; - console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-v32n.psf.gz"; systemd.services.set-initial-backlight = { diff --git a/hosts/Infini-SERVER/default.nix b/hosts/Infini-SERVER/default.nix index 7f47f3e..5659baa 100644 --- a/hosts/Infini-SERVER/default.nix +++ b/hosts/Infini-SERVER/default.nix @@ -24,10 +24,6 @@ soft-serve.enable = true; }; - networking.interfaces = { - enp0s25.useDHCP = true; - }; - environment.persistence."/persist" = { directories = [ "/home" diff --git a/hosts/Infini-STICK/default.nix b/hosts/Infini-STICK/default.nix index d8435f8..4e1d4e4 100644 --- a/hosts/Infini-STICK/default.nix +++ b/hosts/Infini-STICK/default.nix @@ -9,9 +9,6 @@ ./hardware-configuration.nix ]; - networking.interfaces.wlp170s0.useDHCP = true; - # networking.interfaces.enp39s0.useDHCP = true; - modules = { boot.grub.enable = true; hardware = { diff --git a/hosts/Infini-SWIFT/default.nix b/hosts/Infini-SWIFT/default.nix index ad67dc9..cc94204 100644 --- a/hosts/Infini-SWIFT/default.nix +++ b/hosts/Infini-SWIFT/default.nix @@ -28,6 +28,4 @@ }; desktop.wm.enable = true; }; - - networking.interfaces.wlan0.useDHCP = true; } diff --git a/modules/global/networking.nix b/modules/global/networking.nix index 4d73a4e..82f3f92 100644 --- a/modules/global/networking.nix +++ b/modules/global/networking.nix @@ -1,7 +1,7 @@ { pkgs, config, ... }: { networking = { - useDHCP = false; + useDHCP = true; firewall = { checkReversePath = "loose"; trustedInterfaces = [ "tailscale0" ];