Cleanup Makefile a bit
This commit is contained in:
parent
221a6e4551
commit
ae2e3a0d59
15
Makefile
15
Makefile
|
@ -1,19 +1,8 @@
|
|||
.PHONY: default build test switch boot copy
|
||||
|
||||
default: build
|
||||
.PHONY: build copy
|
||||
|
||||
build:
|
||||
nixos-rebuild build --flake . --show-trace
|
||||
|
||||
test:
|
||||
sudo nixos-rebuild test --flake . --show-trace
|
||||
|
||||
switch:
|
||||
sudo nixos-rebuild switch --flake . --show-trace
|
||||
|
||||
boot:
|
||||
sudo nixos-rebuild boot --flake . --show-trace
|
||||
|
||||
copy: build
|
||||
nix copy --to ssh://legion ./result
|
||||
nix copy --to ssh://pixelifytica@legion ./result
|
||||
rm ./result
|
||||
|
|
Loading…
Reference in a new issue