dotnix/justfile

17 lines
236 B
Plaintext
Raw Normal View History

2023-06-28 20:48:01 +00:00
[private]
default:
@just --choose
[private]
rebuild *args:
@git add .
@sudo nixos-rebuild --flake . {{args}}
# Rebuild the current machine
switch *args:
@just rebuild switch {{args}}
2023-06-28 20:48:01 +00:00
# Update the flake
update:
@nix flake update