feat: rice out system

This commit is contained in:
Youwen Wu 2024-12-29 17:27:37 -08:00
parent 69c7355d8d
commit 0b766610a3
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
5 changed files with 133 additions and 25 deletions

View file

@ -67,6 +67,13 @@ in
Form factor of the machine. Adjusts some UI settings.
'';
};
powersave = lib.mkOption {
type = lib.types.bool;
default = cfg.formFactor == "laptop";
description = ''
Whether to set some options to reduce power consumption (mostly Hyprland).
'';
};
};
config = lib.mkIf cfg.enable {