summaryrefslogtreecommitdiff
path: root/modules/basic.nix
diff options
context:
space:
mode:
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";