diff options
| author | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-05-22 23:33:19 -0400 |
|---|---|---|
| committer | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-05-22 23:33:19 -0400 |
| commit | 0caba5ff2e023770bf34a0154af768cbc410f4c6 (patch) | |
| tree | 99bd6bc09957a0f417c587fc4570f9e2a97fae59 | |
| parent | 56ee024b1f37549b7025e9fe762c1f280f31df42 (diff) | |
| download | home-0caba5ff2e023770bf34a0154af768cbc410f4c6.tar.gz | |
`modules/zoxide`: init
| -rw-r--r-- | modules/default.nix | 1 | ||||
| -rw-r--r-- | modules/zoxide.nix | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/modules/default.nix b/modules/default.nix index 502413b..72849ae 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -20,5 +20,6 @@ ./pass ./colors ./zathura.nix + ./zoxide.nix ]; } diff --git a/modules/zoxide.nix b/modules/zoxide.nix new file mode 100644 index 0000000..f86a725 --- /dev/null +++ b/modules/zoxide.nix @@ -0,0 +1,24 @@ +{ config, lib, pkgs, ... }: +let + cfg = config.modules.zoxide; + + inherit (lib) mkEnableOption mkOption mkIf types; +in +{ + options.modules.zoxide = { + enable = mkOption { + type = types.bool; + default = true; + description = "enable zoxide"; + }; + }; + + config = mkIf cfg.enable { + programs.zoxide = { + enable = true; + enableZshIntegration = true; + # options = [ + # ]; + }; + }; +} |