2024-09-18 07:27:22 +01:00
|
|
|
{ pkgs, username, ... }:
|
2024-07-30 15:06:34 +01:00
|
|
|
{
|
2024-08-30 12:57:02 +01:00
|
|
|
imports = [ ./desktop.nix ];
|
|
|
|
home-manager.users.${username}.imports = [ ./home/laptop.nix ];
|
2024-09-18 07:27:22 +01:00
|
|
|
environment.systemPackages = [ pkgs.acpi ];
|
2024-02-25 06:32:13 +00:00
|
|
|
powerManagement.enable = true;
|
|
|
|
services.auto-cpufreq = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
battery = {
|
|
|
|
governor = "powersave";
|
|
|
|
turbo = "never";
|
|
|
|
};
|
|
|
|
charger = {
|
|
|
|
governor = "performance";
|
|
|
|
turbo = "auto";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|