nix/common/home-manager/home.nix

175 lines
3.6 KiB
Nix

{ config, pkgs, ... }:
{
home = {
packages = with pkgs; [
# Office
aerc
libreoffice-fresh
obsidian
thunderbird
pandoc
texlive.combined.scheme-full
# Programming
bacon
colordiff
docker-compose
sublime-merge
tig
vscode-fhs
poetry
cargo
# Graphics
gimp
graphicsmagick
inkscape
imv
# Internet
discord
element-desktop
gnome.epiphany
httpie
wget
remmina
x2goclient
# Sound & Video
cantata
easyeffects
pavucontrol
spotify
ncmpcpp
# Gaming
prismlauncher
heroic
# System Tools
borgbackup
dconf
dmenu
grim
light
screen
slurp
smartmontools
swaylock
sysstat
usbutils
virt-manager
wl-clipboard
yubikey-manager
watchexec
wine
xfce.thunar
gnome.nautilus
nnn
home-manager
gnome.evince
gnome.gnome-characters
gnome.gnome-keyring
gnome.gnome-system-monitor
gnome.gnome-tweaks
pika-backup
dua
fd
file
killall
lsof
ncdu
silver-searcher
tree
htop
iotop
powertop
s-tui
libarchive
p7zip
unrar
unzip
zip
php
python311
python311Packages.i3ipc
ruby
];
shellAliases = {
".." = "cd ..";
"..." = "cd ../..";
"...." = "cd ../../..";
"....." = "cd ../../../..";
o = "${pkgs.xdg-utils}/bin/xdg-open";
ncdu = "${pkgs.ncdu}/bin/ncdu --color dark";
config = "vim /etc/nixos/configuration.nix";
hmconf = "vim /etc/nixos/common/home-manager.nix";
hmhconf = "vim /etc/nixos/common/home-manager/home.nix";
switch = "sudo nixos-rebuild switch";
nr = "nix run --impure";
ns = "nix-shell";
nsp = "nix-shell -p";
cdnix = "cd /etc/nixos";
pvim = "${pkgs.poetry}/bin/poetry run vim";
ga = "${pkgs.git}/bin/git add";
gb = "${pkgs.git}/bin/git branch";
gba = "${pkgs.git}/bin/git branch -a";
gbd = "${pkgs.git}/bin/git branch -d";
gc = "${pkgs.git}/bin/git commit";
gca = "${pkgs.git}/bin/git commit --amend";
gcan = "${pkgs.git}/bin/git commit --amend --no-edit";
gcl = "${pkgs.git}/bin/git clone";
gcm = "${pkgs.git}/bin/git commit -m";
gco = "${pkgs.git}/bin/git checkout";
gcob = "${pkgs.git}/bin/git checkout -b";
gcom = "${pkgs.git}/bin/git remote show origin | sed -n '/HEAD branch/s/.*: //p' | xargs git checkout";
gf = "${pkgs.git}/bin/git fetch";
gfp = "${pkgs.git}/bin/git fetch --prune";
gl = "${pkgs.git}/bin/git pull";
gla = "${pkgs.git}/bin/git pull --autostash";
gp = "${pkgs.git}/bin/git push";
gpf = "${pkgs.git}/bin/git push --force-with-lease";
gr = "${pkgs.git}/bin/git reset";
grs = "${pkgs.git}/bin/git reset --soft";
gs = "${pkgs.git}/bin/git stash";
gsa = "${pkgs.git}/bin/git stash apply";
gsp = "${pkgs.git}/bin/git stash pop";
gst = "${pkgs.git}/bin/git status";
tigs = "${pkgs.tig}/bin/tig status";
oath = "${pkgs.yubikey-manager}/bin/ykman oath accounts code";
dc = "${pkgs.docker-compose}/bin/docker-compose";
dclf = "${pkgs.docker-compose}/bin/docker-compose logs --tail 100 -f";
};
pointerCursor = {
name = "Adwaita";
package = pkgs.gnome.adwaita-icon-theme;
size = 24;
x11 = {
enable = true;
defaultCursor = "Adwaita";
};
};
};
}