1
0
Fork 0
This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues/pull-requests.
dotnix-archive/justfile

21 lines
328 B
Plaintext

[private]
default:
@just --choose
[private]
rebuild *args:
@git add .
@sudo nixos-rebuild --flake . {{args}}
# Rebuild the current machine
switch *args:
@just rebuild switch {{args}}
# Update the flake
update-flake:
@nix flake update
# Update an individual input
update input:
@nix flake lock --update-input {{input}}