Add vm and build targets to makefile

This commit is contained in:
Henrik Lissner 2020-03-27 21:33:34 -04:00
parent df1020f559
commit 5c9c5f850d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -21,6 +21,9 @@ update:
switch: switch:
@sudo nixos-rebuild $(FLAGS) switch @sudo nixos-rebuild $(FLAGS) switch
build:
@sudo nixos-rebuild $(FLAGS) build
boot: boot:
@sudo nixos-rebuild $(FLAGS) boot @sudo nixos-rebuild $(FLAGS) boot
@ -33,6 +36,9 @@ dry:
gc: gc:
@nix-collect-garbage -d @nix-collect-garbage -d
vm:
@sudo nixos-rebuild $(FLAGS) build-vm
clean: clean:
@rm -f result @rm -f result