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
|
2023-07-05 20:51:53 +00:00
|
|
|
switch *args:
|
|
|
|
@just rebuild switch {{args}}
|
2023-06-28 20:48:01 +00:00
|
|
|
|
|
|
|
# Update the flake
|
2023-08-10 01:27:50 +00:00
|
|
|
update-flake:
|
2023-06-28 20:48:01 +00:00
|
|
|
@nix flake update
|
2023-08-10 01:27:50 +00:00
|
|
|
|
|
|
|
# Update an individual input
|
|
|
|
update input:
|
|
|
|
@nix flake lock --update-input nixpkgs
|