feat: refactor packages and add update scripts
This commit is contained in:
8
justfile
8
justfile
@@ -17,6 +17,14 @@ update:
|
||||
# update flake inputs, rebuild and switch
|
||||
bump: update switch
|
||||
|
||||
# update a package to latest version
|
||||
update-package pkg:
|
||||
bash packages/{{pkg}}/update.sh
|
||||
|
||||
# update all packages with update scripts
|
||||
update-package-all:
|
||||
@for script in packages/*/update.sh; do bash "$script"; done
|
||||
|
||||
# build installation iso
|
||||
iso:
|
||||
nixos-rebuild build-image --image-variant iso-installer --flake .#live-iso
|
||||
|
||||
Reference in New Issue
Block a user