feat: add Makafile to simplify some useful commands

This commit is contained in:
ryan4yin
2023-05-21 00:46:02 +08:00
parent 613e763f8b
commit 32d6353cdc

12
Makefile Normal file
View File

@@ -0,0 +1,12 @@
deploy:
sudo nixos-rebuild switch --flake .
update:
nix flake update
history:
sudo nix-env --list-generations --profile /nix/var/nix/profiles/system
gc:
sudo nix-collect-garbage --delete-older-than 14d