feat: update nixpkgs, add nswitch-stay command

This commit is contained in:
Swarsel 2024-08-10 16:50:51 +02:00
parent 1a10605599
commit d7808207e6
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
3 changed files with 86 additions and 123 deletions

View file

@ -6,6 +6,7 @@
hg = "history | grep";
hmswitch = "cd ~/.dotfiles; home-manager --flake .#$(whoami)@$(hostname) switch; cd -;";
nswitch = "cd ~/.dotfiles; sudo nixos-rebuild --flake .#$(hostname) switch; cd -;";
nswitch-stay = "cd ~/.dotfiles; git restore flake.lock; sudo nixos-rebuild --flake .#$(hostname) switch; cd -;";
edithome = "e -w ~/.dotfiles/SwarselSystems.org";
magit = "emacsclient -nc -e \"(magit-status)\"";
config = "git --git-dir=$HOME/.cfg/ --work-tree=$HOME";