mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-07 21:43:52 +00:00
16 lines
272 B
Nix
16 lines
272 B
Nix
{ lib, config, True, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.module.misc.power;
|
|
in {
|
|
options = { module.misc.power = { enable = mkEnableOption ""; }; };
|
|
|
|
config = mkIf cfg.enable {
|
|
powerManagement = True // { # POWER OPTIMIZATION
|
|
powertop = True;
|
|
};
|
|
};
|
|
}
|
|
|