This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues/pull-requests.
2023-06-28 20:48:01 +00:00
|
|
|
[private]
|
|
|
|
default:
|
|
|
|
@just --choose
|
|
|
|
|
|
|
|
[private]
|
|
|
|
rebuild *args:
|
2023-09-26 02:27:00 +00:00
|
|
|
@touch .dirty
|
2023-06-28 20:48:01 +00:00
|
|
|
@git add .
|
|
|
|
@sudo nixos-rebuild --flake . {{args}}
|
2023-09-26 02:27:00 +00:00
|
|
|
@git rm -f .dirty
|
2023-06-28 20:48:01 +00:00
|
|
|
|
|
|
|
# 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:
|
2023-08-13 00:17:50 +00:00
|
|
|
@nix flake lock --update-input {{input}}
|