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 +++++++- flake.lock | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) 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 ;; diff --git a/flake.lock b/flake.lock index a714a27..6e6adf3 100644 --- a/flake.lock +++ b/flake.lock @@ -57,11 +57,11 @@ ] }, "locked": { - "lastModified": 1751255142, - "narHash": "sha256-1NGdfr5BdQFf+cRl2+71P4VG+J2BI8EHDIFTto5MRv4=", + "lastModified": 1751467228, + "narHash": "sha256-lSpl9VvM8w2EubJknlprmSEKsG8hAXIafSIL3kzfkPA=", "owner": "phenax", "repo": "yayarr", - "rev": "a109c9e45b554b7db428dd3d165464f3c8ca7eb7", + "rev": "9999ab4cfd8375062b4b2f8cd16788c11c436819", "type": "github" }, "original": { -- cgit v1.3.1