Skip to content

Commit

Permalink
feat(nix): refactor && add some packages
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamHsieh committed Dec 13, 2023
1 parent 65771ea commit c53095c
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,21 @@ in
{
home = {
packages = with pkgs; [
# essential
# common tools
fd
ripgrep
comma
htop
tldr
viu

# git
git
gh
glab

# editor
neovim
ripgrep
fd
unzip
nodejs
gnumake
Expand All @@ -22,20 +30,22 @@ in
eza
trash-cli

# common tools
fzf
# parser
jc
jq
bat
delta
comma
htop
tldr
rustup
jqp

# language specific
cargo
gcc
go
poetry
python3Full
];
sessionVariables = {
FZF_COMPLETION_TRIGGER = "~~";
NIX_PATH = "nixpkgs=${inputs.nixpkgs}";
COLORTERM = "truecolor";
};
};

Expand Down Expand Up @@ -122,6 +132,7 @@ in
"--color=fg:#cad3f5,header:#ed8796,info:#c6a0f6,pointer:#f4dbd6"
"--color=marker:#f4dbd6,fg+:#cad3f5,prompt:#c6a0f6,hl+:#ed8796"
"--layout=reverse"
"--cycle"
];
changeDirWidgetOptions = [
"--preview 'exa --tree {} | head -200'"
Expand Down

0 comments on commit c53095c

Please sign in to comment.