add some cli tools

This commit is contained in:
Kopatz
2024-06-09 12:25:16 +02:00
parent 087fb3058e
commit cb05d6aa18
8 changed files with 86 additions and 25 deletions

View File

@@ -1,19 +1,14 @@
{config, lib, ...}:
{ config, lib, ... }:
with lib;
let
cfg = config.custom.nix.index;
in
{
options.custom.nix.index = {
enable = mkEnableOption "Enables nix index";
};
config = mkIf cfg.enable {
programs.command-not-found.enable = false;
programs.nix-index = {
enable = true;
enableZshIntegration=true;
};
};
}
let cfg = config.custom.nix.index;
in {
options.custom.nix.index = { enable = mkEnableOption "Enables nix index"; };
config = mkIf cfg.enable {
programs.command-not-found.enable = false;
programs.nix-index = {
enable = true;
enableZshIntegration = true;
};
};
}