Add project to repo

This commit is contained in:
panotaka
2023-11-21 00:39:36 -04:00
parent 26064838f8
commit ce7c15186e
31 changed files with 1315 additions and 0 deletions

86
home/programs/common.nix Normal file
View File

@@ -0,0 +1,86 @@
{ pkgs, ... }: {
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
mycli
pgcli
];
programs = {
tmux = {
enable = true;
clock24 = true;
keyMode = "vi";
extraConfig = "mouse on";
};
bat = {
enable = true;
config = {
pager = "less -FR";
theme = "Catppuccin-mocha";
};
themes = {
Catppuccin-mocha = builtins.readFile (pkgs.fetchurl {
url = "https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme";
hash = "sha256-qMQNJGZImmjrqzy7IiEkY5IhvPAMZpq0W6skLLsng/w=";
});
};
};
btop.enable = true; # replacement of htop/nmon
exa.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;
};
}