complete restructure
This commit is contained in:
17
modules/hardware/power.nix
Normal file
17
modules/hardware/power.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
# modules/hardware/power.nix
|
||||
# Power management and CPU governor
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
services.power-profiles-daemon.enable = true;
|
||||
powerManagement.cpuFreqGovernor = "schedutil";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
power-profiles-daemon
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user