nixos/system/laptop.nix

22 lines
503 B
Nix
Raw Normal View History

{ pkgs, ... }:
2024-07-30 15:06:34 +01:00
{
imports = [ ./desktop.nix ];
environment.systemPackages = [ pkgs.acpi ];
powerManagement.enable = true;
networking.networkmanager.wifi.powersave = true;
services.emacs.enable = false;
services.auto-cpufreq = {
enable = false; # TEMP, conflict with power-profiles-daemon
settings = {
battery = {
governor = "powersave";
turbo = "never";
};
charger = {
governor = "performance";
turbo = "auto";
};
};
};
}