From 0d74681f154c4b29b911c8a2bbb622332a4db429 Mon Sep 17 00:00:00 2001 From: Jakob Lechner Date: Fri, 24 May 2024 00:07:30 +0200 Subject: [PATCH] Enable networkmanager for GUI systems --- hosts/cadmium/configuration.nix | 3 --- hosts/jalr-t520/configuration.nix | 1 - hosts/tin/configuration.nix | 1 - modules/network-manager.nix | 2 ++ 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/hosts/cadmium/configuration.nix b/hosts/cadmium/configuration.nix index eb39348..f7e6ca2 100644 --- a/hosts/cadmium/configuration.nix +++ b/hosts/cadmium/configuration.nix @@ -8,9 +8,6 @@ networking = { hostName = "cadmium"; - networkmanager = { - enable = true; - }; useDHCP = false; firewall = { diff --git a/hosts/jalr-t520/configuration.nix b/hosts/jalr-t520/configuration.nix index f34a5fc..6f604d0 100644 --- a/hosts/jalr-t520/configuration.nix +++ b/hosts/jalr-t520/configuration.nix @@ -8,7 +8,6 @@ networking = { hostName = "jalr-t520"; - networkmanager.enable = true; useDHCP = false; }; diff --git a/hosts/tin/configuration.nix b/hosts/tin/configuration.nix index 0eb8457..f9be603 100644 --- a/hosts/tin/configuration.nix +++ b/hosts/tin/configuration.nix @@ -12,7 +12,6 @@ networking = { hostName = "tin"; - networkmanager.enable = true; useDHCP = false; }; diff --git a/modules/network-manager.nix b/modules/network-manager.nix index 2c75c57..18a6426 100644 --- a/modules/network-manager.nix +++ b/modules/network-manager.nix @@ -5,4 +5,6 @@ lib.mkIf config.jalr.gui.enable { enable = true; indicator = true; }; + + networking.networkmanager.enable = true; }