Add boot, rollback & dry tasks to makefile
This commit is contained in:
parent
c7e6da3f73
commit
a2ef6eb40b
9
Makefile
9
Makefile
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue