- Add individual modules for: bat, carapace, direnv, eza, fzf, lf, nitch, television, zellij, zellij-ps, zoxide - Centralize in home/base/cli-tools/ with default.nix aggregator - Simplify home/base/packages by removing extracted tools
20 lines
390 B
Nix
20 lines
390 B
Nix
# Zoxide — smarter cd with Fish and Nushell integration.
|
|
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.base.cliTools.zoxide;
|
|
in {
|
|
options.base.cliTools.zoxide.enable = mkEnableOption "enable zoxide smarter cd";
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.zoxide = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
enableNushellIntegration = true;
|
|
};
|
|
};
|
|
}
|