mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-10 17:34:05 -05:00
justfile
This commit is contained in:
parent
2f2adad29d
commit
2e3e1ec3b2
1 changed files with 8 additions and 0 deletions
8
justfile
8
justfile
|
|
@ -1,9 +1,17 @@
|
|||
alias b := build
|
||||
alias r := rebuild
|
||||
alias u := update
|
||||
alias us := update-secret
|
||||
|
||||
default:
|
||||
just -l
|
||||
|
||||
# Build the system and diff
|
||||
build:
|
||||
nixos-rebuild build --flake . && nvd diff /run/current-system ./result
|
||||
[confirm('Rebuild the system?')]
|
||||
rebuild:
|
||||
sudo nixos-rebuild switch --flake .
|
||||
# Update all flake inputs
|
||||
update:
|
||||
nix flake update --commit-lock-file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue