diff options
author | Leonardo Santiago <[email protected]> | 2025-05-08 00:48:42 -0300 |
---|---|---|
committer | Leonardo Santiago <[email protected]> | 2025-05-08 00:48:42 -0300 |
commit | dab1895180c9554abc2ca60d00e106bee393f640 (patch) | |
tree | 77f3f3e0729afcc7a1eb2d6011b84790f7303996 /modules/basic.nix | |
parent | cd2a8d670aa8dbcc9be199797315e6a45adc1279 (diff) |
chore(gnome): rewrite extension logic to be able to more easily enable them separately
Diffstat (limited to 'modules/basic.nix')
-rw-r--r-- | modules/basic.nix | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/modules/basic.nix b/modules/basic.nix index 216ce81..39e50fb 100644 --- a/modules/basic.nix +++ b/modules/basic.nix @@ -1,10 +1,18 @@ { config, lib, pkgs, inputs, ...}: with lib; { - options.santi-modules.basic.enable = mkOption { - type = types.bool; - default = true; - description = "Enables basic configuration on nix, nixpkgs and bash prompt."; + options.santi-modules = { + basic.enable = mkOption { + type = types.bool; + default = true; + description = "Enables basic configuration on nix, nixpkgs and bash prompt."; + }; + has-touchpad = mkOption { + type = types.bool; + default = false; + description = "Whether a given device has support for touchpad"; + }; }; config = mkIf config.santi-modules.basic.enable { + documentation.nixos.enable = false; nix = { registry.nixpkgs.to = { type = "path"; |