Initial experimental commit
This commit is contained in:
parent
b848f9d893
commit
682a19b13c
146 changed files with 2463 additions and 2389 deletions
69
home/programs/console/utility/tools/default.nix
Normal file
69
home/programs/console/utility/tools/default.nix
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
let
|
||||
cfg = config.programs.console.utility.tools;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
bc # Calculator
|
||||
|
||||
# file utility
|
||||
duf
|
||||
du-dust
|
||||
fd
|
||||
ripgrep
|
||||
|
||||
# archive
|
||||
zip
|
||||
unzip
|
||||
unrar
|
||||
|
||||
# file transfer
|
||||
wget
|
||||
httpie # Better curl
|
||||
|
||||
# resource manager
|
||||
powertop
|
||||
|
||||
diffsitter # Better diff
|
||||
jq # JSON pretty printer and manipulator
|
||||
comma # Install and run with ","
|
||||
tldr # Community maintained help pages
|
||||
progress
|
||||
killall
|
||||
acpi
|
||||
|
||||
# Nix tooling
|
||||
alejandra
|
||||
];
|
||||
|
||||
programs = {
|
||||
btop.enable = true;
|
||||
eza.enable = true;
|
||||
bat = {
|
||||
enable = true;
|
||||
config = {
|
||||
theme = "base16";
|
||||
pager = "less -FR";
|
||||
};
|
||||
};
|
||||
direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
skim = {
|
||||
enable = true;
|
||||
enableFishIntegration = lib.mkIf config.programs.console.shell.fish.enable true;
|
||||
defaultCommand = "rg --files --hidden";
|
||||
changeDirWidgetOptions = [
|
||||
"--preview 'eza --icons -L 3 -T --color always {} | head -200'"
|
||||
"--exact"
|
||||
];
|
||||
fileWidgetCommand = "rg --files";
|
||||
fileWidgetOptions = [
|
||||
"--preview 'bat --color=always {}'"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue