From 807f74681f90b5ac2423f0f1130f687bd66677c9 Mon Sep 17 00:00:00 2001 From: Benson Chu Date: Fri, 2 Aug 2024 09:41:41 -0500 Subject: [PATCH] Consolidate network configuration --- common/configuration.nix | 6 ------ common/laptop-things.nix | 1 + hosts/NixDawn/configuration.nix | 1 + hosts/NixFrame/configuration.nix | 1 - hosts/NixGate/configuration.nix | 5 ----- hosts/NixSentinel/configuration.nix | 5 ----- 6 files changed, 2 insertions(+), 17 deletions(-) diff --git a/common/configuration.nix b/common/configuration.nix index d63213a..877a596 100644 --- a/common/configuration.nix +++ b/common/configuration.nix @@ -35,12 +35,6 @@ in nix.settings.experimental-features = "nix-command flakes"; - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - # Enable networking networking.networkmanager.enable = true; diff --git a/common/laptop-things.nix b/common/laptop-things.nix index 133e5ff..d280105 100644 --- a/common/laptop-things.nix +++ b/common/laptop-things.nix @@ -11,6 +11,7 @@ }; hardware.bluetooth.enable = true; # enables support for Bluetooth + networking.wireless.enable = true; # Configure keymap in X11 services.xserver = { diff --git a/hosts/NixDawn/configuration.nix b/hosts/NixDawn/configuration.nix index 9d88ad2..04156d1 100644 --- a/hosts/NixDawn/configuration.nix +++ b/hosts/NixDawn/configuration.nix @@ -19,6 +19,7 @@ boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "NixDawn"; # Define your hostname. + networking.wireless.enable = true; fileSystems."/home/benson/workspace" = { device = "/dev/disk/by-uuid/aa640eb6-0655-446a-8a12-5867eeef6638"; diff --git a/hosts/NixFrame/configuration.nix b/hosts/NixFrame/configuration.nix index 6536536..dcac4c0 100644 --- a/hosts/NixFrame/configuration.nix +++ b/hosts/NixFrame/configuration.nix @@ -15,7 +15,6 @@ boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "NixFrame"; # Define your hostname. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. services.syncthing = { enable = true; diff --git a/hosts/NixGate/configuration.nix b/hosts/NixGate/configuration.nix index 4e208ff..5b41a0d 100644 --- a/hosts/NixGate/configuration.nix +++ b/hosts/NixGate/configuration.nix @@ -17,11 +17,6 @@ boot.loader.grub.useOSProber = true; networking.hostName = "NixGate"; # Define your hostname. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; # Enable networking networking.networkmanager.enable = true; diff --git a/hosts/NixSentinel/configuration.nix b/hosts/NixSentinel/configuration.nix index a87fe97..2c8b5fd 100644 --- a/hosts/NixSentinel/configuration.nix +++ b/hosts/NixSentinel/configuration.nix @@ -16,11 +16,6 @@ boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "NixSentinel"; # Define your hostname. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; # Enable networking networking.networkmanager.enable = true;