Files
dotfiles/modules/features/boot/power.nix
T
2026-05-30 23:37:40 +09:00

14 lines
240 B
Nix

{ lib, config, ... }:
let
cfg = config.my.features.boot.power;
in
{
options.my.features.boot.power = {
enable = lib.mkEnableOption "Power management";
};
config = lib.mkIf cfg.enable {
my.system.power.enable = true;
};
}