1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 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"; }; }; }; }