dotfiles/modules/os/cli/nix-index.nix
eriedaberrie 4fdc917689 Initial commit
Note: not the actual initial commit.

I swear I will stop repeatedly force pushing to this single commit eventually
ok.
2024-09-28 00:04:01 -07:00

29 lines
521 B
Nix

{ inputs, config, lib, ... }:
let
cfg = config.my.cli.nix-index;
in {
imports = [
inputs.nix-index-database.nixosModules.nix-index
];
options.my.cli.nix-index = {
enable = lib.mkEnableOption null;
};
config = lib.mkIf cfg.enable {
programs = {
nix-index = {
enable = true;
enableBashIntegration = false;
enableFishIntegration = false;
enableZshIntegration = false;
};
nix-index-database = {
comma.enable = true;
};
};
};
}