Cleanup Makefile a bit

This commit is contained in:
Evie Litherland-Smith 2024-06-07 19:56:53 +01:00
parent 221a6e4551
commit ae2e3a0d59

View file

@ -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