20 lines
344 B
Makefile
20 lines
344 B
Makefile
.PHONY: default build test switch boot copy
|
|
|
|
default: build
|
|
|
|
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
|
|
rm ./result
|