Files
m3ta-home/profiles/base/cli-tools/nix-index.nix
m3ta-chironandClaude Opus 5.5 396c41d99d chore(shell): remove Fish configuration
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>
2026-11-01 13:23:07 +01:00

24 lines
498 B
Nix

# nix-index — Files database for nixpkgs
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.base.cliTools.lf;
in {
# Enabled by default — base modules are always-on.
options.base.nix-index.lf.enable = (mkEnableOption "enable nix-index files database") // {default = true;};
config = mkIf cfg.enable {
home.packages = [pkgs.comma];
programs.nix-index = {
enable = true;
enableBashIntegration = true;
enableNushellIntegration = true;
};
};
}