From 69ec3990a7066db2296ef2cebc5f2e4385834ac7 Mon Sep 17 00:00:00 2001 From: Daniel Patterson Date: Sat, 15 Jul 2023 16:57:36 +0100 Subject: [PATCH] Perhaps fix networking? --- hosts/common/default.nix | 2 +- hosts/common/graphical/default.nix | 2 -- hosts/elderbug/configuration.nix | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/hosts/common/default.nix b/hosts/common/default.nix index f1c4911..c39f112 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -52,7 +52,7 @@ in { # The global useDHCP flag is deprecated, therefore explicitly set to false here. # Per-interface useDHCP will be mandatory in the future, so this generated config # replicates the default behaviour. - networking.useDHCP = false; + networking.useDHCP = true; console = { useXkbConfig = true; diff --git a/hosts/common/graphical/default.nix b/hosts/common/graphical/default.nix index a4c19b6..4a938a3 100644 --- a/hosts/common/graphical/default.nix +++ b/hosts/common/graphical/default.nix @@ -10,8 +10,6 @@ hardware.bluetooth.enable = true; hardware.pulseaudio.enable = false; services.blueman.enable = true; - networking.networkmanager.enable = true; - programs.nm-applet.enable = true; programs.partition-manager.enable = true; security.pam.services.swaylock = {}; diff --git a/hosts/elderbug/configuration.nix b/hosts/elderbug/configuration.nix index d888485..31767b0 100644 --- a/hosts/elderbug/configuration.nix +++ b/hosts/elderbug/configuration.nix @@ -34,8 +34,7 @@ hardware.nvidia.modesetting.enable = true; networking.hostName = "elderbug"; # Define your hostname. - networking.interfaces.enp5s0.useDHCP = true; - networking.interfaces.wlp6s0.useDHCP = true; + networking.interfaces.enp6s0.useDHCP = true; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions