nixos/system/laptop.nix

20 lines
398 B
Nix
Raw Normal View History

{ username, ... }:
2024-07-30 15:06:34 +01:00
{
imports = [ ./desktop.nix ];
home-manager.users.${username}.imports = [ ./home/laptop.nix ];
powerManagement.enable = true;
services.auto-cpufreq = {
enable = true;
settings = {
battery = {
governor = "powersave";
turbo = "never";
};
charger = {
governor = "performance";
turbo = "auto";
};
};
};
}