21 lines
468 B
Nix
21 lines
468 B
Nix
# Zoxide — smarter cd with Fish and Nushell integration.
|
|
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.base.cliTools.zoxide;
|
|
in {
|
|
# Enabled by default — base modules are always-on.
|
|
options.base.cliTools.zoxide.enable = (mkEnableOption "enable zoxide smarter cd") // {default = true;};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.zoxide = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
enableNushellIntegration = true;
|
|
};
|
|
};
|
|
}
|