19 lines
315 B
Makefile
19 lines
315 B
Makefile
set dotenv-load
|
|
|
|
default:
|
|
@just --choose
|
|
|
|
build machine="":
|
|
nixos-rebuild --flake .#{{machine}} build
|
|
|
|
diff:
|
|
nvd diff /run/current-system ./result
|
|
|
|
switch machine="":
|
|
nixos-rebuild --flake .#{{machine}} --use-remote-sudo switch
|
|
|
|
fmt:
|
|
nix fmt
|
|
|
|
deploy host:
|
|
nix run ".#apps.nixinate.{{host}}"
|