mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-26 19:31:31 +01:00
92 lines
1.6 KiB
Nix
92 lines
1.6 KiB
Nix
{
|
||
lib,
|
||
pkgs,
|
||
catppuccin-bat,
|
||
...
|
||
}: {
|
||
home.packages = with pkgs; [
|
||
# archives
|
||
zip
|
||
unzip
|
||
p7zip
|
||
|
||
# utils
|
||
ripgrep
|
||
yq-go # https://github.com/mikefarah/yq
|
||
htop
|
||
|
||
# misc
|
||
libnotify
|
||
wineWowPackages.wayland
|
||
xdg-utils
|
||
graphviz
|
||
|
||
# productivity
|
||
obsidian
|
||
|
||
# IDE
|
||
insomnia
|
||
|
||
# cloud native
|
||
docker-compose
|
||
kubectl
|
||
|
||
nodejs
|
||
nodePackages.npm
|
||
nodePackages.pnpm
|
||
yarn
|
||
|
||
# db related
|
||
dbeaver-bin
|
||
mycli
|
||
pgcli
|
||
];
|
||
|
||
programs = {
|
||
tmux = {
|
||
enable = true;
|
||
clock24 = true;
|
||
keyMode = "vi";
|
||
extraConfig = "mouse on";
|
||
};
|
||
|
||
bat = {
|
||
enable = true;
|
||
config = {
|
||
pager = "less -FR";
|
||
theme = "catppuccin-mocha";
|
||
};
|
||
themes = {
|
||
# https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme
|
||
catppuccin-mocha = {
|
||
src = catppuccin-bat;
|
||
file = "Catppuccin-mocha.tmTheme";
|
||
};
|
||
};
|
||
};
|
||
|
||
btop.enable = true; # replacement of htop/nmon
|
||
eza.enable = true; # A modern replacement for ‘ls’
|
||
jq.enable = true; # A lightweight and flexible command-line JSON processor
|
||
ssh.enable = true;
|
||
aria2.enable = true;
|
||
|
||
skim = {
|
||
enable = true;
|
||
enableZshIntegration = true;
|
||
defaultCommand = "rg --files --hidden";
|
||
changeDirWidgetOptions = [
|
||
"--preview 'exa --icons --git --color always -T -L 3 {} | head -200'"
|
||
"--exact"
|
||
];
|
||
};
|
||
};
|
||
|
||
services = {
|
||
syncthing.enable = true;
|
||
|
||
# auto mount usb drives
|
||
udiskie.enable = true;
|
||
};
|
||
}
|