From 1f40a05faeb9e74a0a1e5d6d4bbcb242f1aa69ee Mon Sep 17 00:00:00 2001 From: worble Date: Tue, 17 Dec 2024 19:04:40 +0000 Subject: [PATCH] turn off wifi powersave; add libnotify --- configuration.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index 5fadfc0..fc5d8fd 100644 --- a/configuration.nix +++ b/configuration.nix @@ -14,7 +14,7 @@ nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.auto-optimise-store = true; nix.gc.automatic = true; - nix.gc.options = "--delete-older-than 7d"; + nix.gc.options = "--delete-older-than 30d"; services.fstrim.enable = true; @@ -37,7 +37,12 @@ # networking.hostName = "nixos"; # Define your hostname. # 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. + networking.networkmanager = { + # Easiest to use and most distros use this by default. + enable = true; + wifi.powersave = false; + }; + # services.resolved.enable = true; services.mullvad-vpn = { enable = true; @@ -129,7 +134,6 @@ services.flatpak.enable = true; - programs.steam = { enable = true; remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play @@ -162,6 +166,7 @@ rar nixpkgs-fmt inotify-tools + libnotify ]; # Some programs need SUID wrappers, can be configured further or are