nix/common/home-manager/home.nix

114 lines
2.0 KiB
Nix

{ config, pkgs, ... }:
{
home = {
packages = with pkgs; [
# Office
aerc
libreoffice-fresh
obsidian
thunderbird
# Programming
bacon
colordiff
sublime-merge
tig
vscode-fhs
# Graphics
gimp
graphicsmagick
inkscape
# Internet
discord
httpie
tdesktop
w3m
wget
# Sound & Video
easyeffects
spotify
# Gaming
prismlauncher
# System Tools
borgbackup
fd
file
htop
iotop
killall
lsof
ncdu
pika-backup
pinentry-qt
powertop
s-tui
screen
silver-searcher
smartmontools
sysstat
tree
usbutils
virt-manager
wl-clipboard
yubikey-manager
libarchive
p7zip
unrar
unzip
zip
];
sessionVariables = {
MOZ_ENABLE_WAYLAND = 1;
NIXOS_OZONE_WL = 1;
QT_QPA_PLATFORM = "wayland";
SDL_VIDEODRIVER = "wayland";
EDITOR = "nvim";
};
shellAliases = {
".." = "cd ..";
"..." = "cd ../..";
o = "xdg-open";
ncdu = "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";
ga = "git add";
gb = "git branch";
gbd = "git branch -d";
gc = "git commit";
gcm = "git commit -m";
gcan = "git commit --amend --no-edit";
gcl = "git clone";
gco = "git checkout";
gcb = "git checkout -b";
gl = "git pull";
gla = "git pull --autostash";
gp = "git push";
gpf = "git push --force-with-lease";
gr = "git reset";
grs = "git reset --soft";
gs = "git switch";
tigs = "tig status";
};
};
}