diff options
Diffstat (limited to '')
-rw-r--r-- | system/default.nix | 1 | ||||
-rw-r--r-- | system/options/default.nix | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/system/default.nix b/system/default.nix index 1c8d0900..71d74528 100644 --- a/system/default.nix +++ b/system/default.nix @@ -6,6 +6,7 @@ #./impermanence already at flake level imported ./locale ./sound + ./options ./users # the position of this item is fully arbitrary ./polkit ./hardware 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"; + }; + }; + }; +} |