nixos/system/laptop.nix
Evie Litherland-Smith 51081b3eca Switch networkmanager backend to iwd
Switch network frontend to iwgtk, bluetooth frontend to overskride

Enable wifi powersave on laptops
2024-12-05 13:51:47 +00:00

21 lines
425 B
Nix

{ pkgs, ... }:
{
imports = [ ./desktop.nix ];
environment.systemPackages = [ pkgs.acpi ];
powerManagement.enable = true;
networking.networkmanager.wifi.powersave = true;
services.auto-cpufreq = {
enable = true;
settings = {
battery = {
governor = "powersave";
turbo = "never";
};
charger = {
governor = "performance";
turbo = "auto";
};
};
};
}