diff options
Diffstat (limited to 'snowfall/modules')
| -rw-r--r-- | snowfall/modules/home/suites/common/default.nix | 1 | ||||
| -rw-r--r-- | snowfall/modules/home/tools/zoxide/default.nix | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/snowfall/modules/home/suites/common/default.nix b/snowfall/modules/home/suites/common/default.nix index f6b8ec4..63ea042 100644 --- a/snowfall/modules/home/suites/common/default.nix +++ b/snowfall/modules/home/suites/common/default.nix @@ -16,6 +16,7 @@ in { ssh.enable = true; gpg.enable = true; btop.enable = true; + zoxide.enable = true; }; }; }; diff --git a/snowfall/modules/home/tools/zoxide/default.nix b/snowfall/modules/home/tools/zoxide/default.nix new file mode 100644 index 0000000..75db246 --- /dev/null +++ b/snowfall/modules/home/tools/zoxide/default.nix @@ -0,0 +1,15 @@ +{ options, config, lib, namespace, ... }: + +with lib; with lib.${namespace}; let + cfg = config.${namespace}.tools.zoxide; +in { + options.${namespace}.tools.zoxide = with types; { + enable = mkEnableOption "zoxide"; + }; + + config = mkIf cfg.enable { + programs.zoxide = { + enable = true; + }; + }; +} |