summaryrefslogtreecommitdiff
path: root/modules/basic.nix
diff options
context:
space:
mode:
authorLeonardo Santiago <[email protected]>2025-05-08 00:48:42 -0300
committerLeonardo Santiago <[email protected]>2025-05-08 00:48:42 -0300
commitdab1895180c9554abc2ca60d00e106bee393f640 (patch)
tree77f3f3e0729afcc7a1eb2d6011b84790f7303996 /modules/basic.nix
parentcd2a8d670aa8dbcc9be199797315e6a45adc1279 (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.nix16
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";