Nushell is the only interactive shell now. base.shell.fish.enable stays as a deprecated no-op with a warning, because AZ-NIX-CLIENTS and AZ-NIX-SERVERS still set it and would otherwise fail to evaluate after a lock update. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
423 B
Nix
20 lines
423 B
Nix
# Zoxide — smarter cd with 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;
|
|
enableNushellIntegration = true;
|
|
};
|
|
};
|
|
}
|