makefile quick scripts

This commit is contained in:
Noah Masur 2022-04-25 20:34:20 -04:00
parent 03e1b99f51
commit 703b2673ba

View File

@ -25,3 +25,11 @@ system:
# Update the user environment # Update the user environment
home: home:
home-manager switch -f ./home.nix home-manager switch -f ./home.nix
upgrade:
nix-channel --update
nixos-rebuild switch -I nixos-config=./configuration.nix --upgrade
prune:
nix-env --delete-generations 14d
nix-collect-garbage --delete-old