diff --git a/modules/configuration.nix b/modules/configuration.nix index 73477d6..572b590 100644 --- a/modules/configuration.nix +++ b/modules/configuration.nix @@ -13,13 +13,6 @@ networking.hostName = "rhea-laptop"; # 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; - # Set your time zone. time.timeZone = "Europe/Berlin"; @@ -50,22 +43,12 @@ # Enable Fingerprint Support services.fprintd.enable = true; - # Define a user account. Don't forget to set a password with ‘passwd’. - #users.users.rhea = { - # isNormalUser = true; - # description = "Rhea"; - # extraGroups = [ "networkmanager" "wheel" ]; - # packages = with pkgs; [ ]; - #}; - # Allow unfree packages nixpkgs.config.allowUnfree = true; # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ - # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. - # wget fprintd ]; diff --git a/modules/default.nix b/modules/default.nix index e9a914d..428112a 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -9,5 +9,6 @@ ./power-profiles.nix ./environment.nix ./polkit.nix + ,/networking.nix ]; } \ No newline at end of file diff --git a/modules/networking.nix b/modules/networking.nix new file mode 100644 index 0000000..45d62e4 --- /dev/null +++ b/modules/networking.nix @@ -0,0 +1,6 @@ +{ + # Enable networking + networking.networkmanager.enable = true; + + networking.networkmanager.wifi.powersave = true; +} \ No newline at end of file