nixos-config/Justfile

22 lines
396 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
boot machine="":
nixos-rebuild --flake .#{{machine}} --use-remote-sudo boot
fmt:
nix fmt
deploy host:
nix run ".#apps.nixinate.{{host}}"