aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-07-02 20:14:20 +0530
committerAkshay Nair <phenax5@gmail.com>2025-07-02 20:14:20 +0530
commitc1e61469121764e185b4ce483e29a7e09cec697b (patch)
treeb692cff99daadd9679458b16ddbf64e06b2d4716
parent50932586c751e0a51a6185ba55b227c55616cd22 (diff)
downloadhomeserver-nixos-config-c1e61469121764e185b4ce483e29a7e09cec697b.tar.gz
homeserver-nixos-config-c1e61469121764e185b4ce483e29a7e09cec697b.zip
Update yayarr
-rwxr-xr-xbuild.sh8
-rw-r--r--flake.lock6
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": {