nix/common/home-manager/home.nix

95 lines
1.6 KiB
Nix

{ config, pkgs, ... }:
{
home = {
packages = with pkgs; [
# Office
aerc
libreoffice-fresh
# Programming
bacon
drone-cli
sublime-merge
tig
vscode-fhs
# Graphics
gimp
inkscape
# Internet
discord
httpie
tdesktop
transmission-gtk
w3m
wget
# Sound & Video
mpv
spotify
# System Tools
borgbackup
fd
gnome.gnome-tweaks
gnomeExtensions.openweather
htop
iotop
killall
lsof
p7zip
pika-backup
s-tui
screen
silver-searcher
smartmontools
sysstat
tmux
tree
unrar
unzip
virt-manager
vulkan-tools
wl-clipboard
zip
];
sessionVariables = {
MOZ_ENABLE_WAYLAND = 1;
NIXOS_OZONE_WL = 1;
QT_QPA_PLATFORM = "wayland";
SDL_VIDEODRIVER = "wayland";
EDITOR = "nvim";
};
shellAliases = {
".." = "cd ..";
"..." = "cd ../..";
config = "vim /etc/nixos/configuration.nix";
hmconf = "vim /etc/nixos/common/home-manager.nix";
switch = "sudo nixos-rebuild switch";
nr = "nix run --impure";
ns = "nix-shell";
nsp = "nix-shell -p";
cdnix = "cd /etc/nixos";
ga = "git add";
gc = "git commit";
gcl = "git clone";
gcm = "git commit -m";
gl = "git pull";
gla = "git pull --autostash";
gp = "git push";
gpf = "git push --force-with-lease";
gr = "git reset";
grs = "git reset --soft";
tigs = "tig status";
};
};
}