diff --git a/common/config/config.nix b/common/config/config.nix index 2ca6748..f667b9e 100644 --- a/common/config/config.nix +++ b/common/config/config.nix @@ -14,6 +14,9 @@ nixpkgs, # The flake's input version of nixpkgs boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + networking.wireless.enable = false; + networking.networkmanager.enable = true; + # Set your time zone. time.timeZone = "America/New_York"; @@ -30,7 +33,7 @@ nixpkgs, # The flake's input version of nixpkgs users.users.kiana = { isNormalUser = true; description = "Kiana Sheibani"; - extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + extraGroups = [ "wheel" "networkmanager" ]; # Enable ‘sudo’ for the user. shell = pkgs.fish; }; diff --git a/desktop/config/default.nix b/desktop/config/default.nix index c0ead50..7836707 100644 --- a/desktop/config/default.nix +++ b/desktop/config/default.nix @@ -5,13 +5,6 @@ in { ./hardware-configuration.nix ]; - networking.hostName = "kiana-desktop"; - networking.wireless.enable = true; - - networking.wireless.networks = { - "NETGEAR97".psk = "pastelcello694"; - }; - # Passwords users.users.kiana = { inherit hashedPassword; }; users.users.root = { inherit hashedPassword; }; diff --git a/laptop/config/default.nix b/laptop/config/default.nix index 40d281f..77b8291 100644 --- a/laptop/config/default.nix +++ b/laptop/config/default.nix @@ -15,9 +15,4 @@ in { # Passwords users.users.kiana = { inherit hashedPassword; }; users.users.root = { inherit hashedPassword; }; - - # Networking - networking.wireless.enable = false; - networking.networkmanager.enable = true; - users.users.kiana.extraGroups = [ "networkmanager" ]; }