feat: refactor packages and add update scripts

This commit is contained in:
2026-03-02 14:46:35 +01:00
parent 2de3bcb56b
commit 0af754704e
10 changed files with 199 additions and 9 deletions

View File

@@ -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