nixos-config/Justfile

23 lines
396 B
Makefile
Raw Normal View History

2023-04-24 08:25:18 +02:00
set dotenv-load
default:
@just --choose
build machine="":
nixos-rebuild --flake .#{{machine}} build
2023-04-19 09:36:35 +02:00
diff:
2023-04-24 08:25:18 +02:00
nvd diff /run/current-system ./result
switch machine="":
nixos-rebuild --flake .#{{machine}} --use-remote-sudo switch
2023-04-19 09:36:35 +02:00
2023-07-03 09:26:40 +02:00
boot machine="":
nixos-rebuild --flake .#{{machine}} --use-remote-sudo boot
2023-04-24 08:25:18 +02:00
fmt:
nix fmt
2023-04-21 11:19:49 +02:00
2023-04-24 08:25:18 +02:00
deploy host:
nix run ".#apps.nixinate.{{host}}"