Add boot, rollback & dry tasks to makefile

This commit is contained in:
Henrik Lissner 2020-01-17 04:23:19 -05:00
parent c7e6da3f73
commit a2ef6eb40b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -20,6 +20,15 @@ update:
switch: switch:
@sudo nixos-rebuild $(FLAGS) switch @sudo nixos-rebuild $(FLAGS) switch
boot:
@sudo nixos-rebuild $(FLAGS) boot
rollback:
@sudo nixos-rebuild $(FLAGS) --rollback $(COMMAND)
dry:
@sudo nixos-rebuild $(FLAGS) dry-build
gc: gc:
@nix-collect-garbage -d @nix-collect-garbage -d