From fb1dd0dc17ed9db814f49cfa4f5c76b6edc0fad8 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Wed, 17 Apr 2024 00:52:31 +0200 Subject: [PATCH] update networking --- hosts/server/configuration.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 55ea430..9ca476e 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -22,10 +22,12 @@ hardware.enableRedistributableFirmware = true; hardware.enableAllFirmware = true; - networking.hostName = "NoasServer"; # Define your hostname. + networking = { + hostName = "NoasServer"; # Define your hostname. + networkmanager.enable = true; # Easiest to use and most distros use this by default. + }; # Pick only one of the below networking options. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. nix = { settings = {