From dab1895180c9554abc2ca60d00e106bee393f640 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Thu, 8 May 2025 00:48:42 -0300 Subject: chore(gnome): rewrite extension logic to be able to more easily enable them separately --- modules/basic.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'modules/basic.nix') 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"; -- cgit v1.2.3