1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-07 21:43:52 +00:00
ultima/modules/nixos/misc/power/default.nix
2024-11-21 18:24:15 +09:00

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;
};
};
}