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