diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-08 17:32:27 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:52 -0700 |
| commit | 3f4a98af8c2a1e3d8f6a79a4d094a3e1650f83c0 (patch) | |
| tree | fe4d8ee3c6b4e9dad111d2c4b6918003e1ab157c /snowfall/modules | |
| parent | 2aceb8f55e9b783be40f6eb8c3974dbb4f23bf28 (diff) | |
migration: zoxide
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; + }; + }; +} |