add some cli tools
This commit is contained in:
@@ -12,6 +12,7 @@ in
|
||||
environment.systemPackages = with pkgs; [
|
||||
wget
|
||||
pciutils
|
||||
rippkgs # faster nixpkgs search, init with `rippkgs-index nixpkgs && mv rippkgs-index.sqlite ~/.local/share/`;
|
||||
nixos-option
|
||||
btop
|
||||
git
|
||||
@@ -45,6 +46,8 @@ in
|
||||
nvd # nix diff, example: nvd diff /nix/var/nix/profiles/system-389-link /nix/var/nix/profiles/system-390-link
|
||||
compsize
|
||||
trashy # move files to trash
|
||||
fzf # fuzzy finder
|
||||
bat # fancy cat
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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