diff options
author | Soispha <soispha@vhack.eu> | 2023-04-23 13:58:23 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-05-09 19:31:44 +0200 |
commit | ffc9a5eb6231433f4d0bbe9c10a50c38ef784607 (patch) | |
tree | bc7ec59fd7dfcd0659aa3f5ef88398142f30bc6d /system/options | |
parent | Fix(secrets/nheko): Add apzu (diff) | |
download | nixos-config-ffc9a5eb6231433f4d0bbe9c10a50c38ef784607.zip |
Feat(system/options): Add laptop options
Diffstat (limited to 'system/options')
-rw-r--r-- | system/options/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/system/options/default.nix b/system/options/default.nix new file mode 100644 index 00000000..86caf3e9 --- /dev/null +++ b/system/options/default.nix @@ -0,0 +1,19 @@ +# vim: ts=2 +{ + lib, + config, + ... +}: let + cfg = config.soispha; +in { + options.soispha = { + laptop = { + enable = lib.mkEnableOption "Laptop improvemens"; + backlight = lib.mkOption { + type = lib.types.str; + example = lib.mdDoc "intel_backlight"; + description = lib.mdDoc "Which backlight to query for the screen brightness"; + }; + }; + }; +} |