From c1e61469121764e185b4ce483e29a7e09cec697b Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Wed, 2 Jul 2025 20:14:20 +0530 Subject: Update yayarr --- build.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index b1975ef..04cdc56 100755 --- a/build.sh +++ b/build.sh @@ -35,7 +35,7 @@ rebuild() { update_system() { run_ssh nix flake update --flake 'path:/home/bacchus/nixos'; - rebuild; + config_sync && rebuild; } restart() { run_ssh sudo systemctl reboot; } @@ -53,6 +53,11 @@ gen_test_dash() { } open_test_dash() { brave "file://$PWD/index.ignore.html"; } +update_yayarr() { + run_ssh nix flake update phenax-yayarr --flake 'path:/home/bacchus/nixos'; + config_sync && rebuild; +} + cmd="$1"; shift; case "$cmd" in sync) config_sync ;; @@ -60,6 +65,7 @@ case "$cmd" in build) rebuild ;; update) update_system ;; restart) restart && sleep 3 && waittostart ;; + update_yayarr) update_yayarr ;; wait) waittostart ;; clean) run_ssh sudo nix-collect-garbage -d ;; top) run_ssh btm ;; -- cgit v1.3.1