add some cli tools
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user