feat: beatsaber oneclick

This commit is contained in:
Jan-Bulthuis committed 2026-11-18 12:24:44 +01:00
1 parent 0c06237cac
commit 4f3a25fa14
3 files changed
+345

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
{
writeShellApplication,
openssh,
libnotify,
curl,
jq,
}:
# Forwards Beat Saber OneClick links (BeatSaver, BeatLeader, ScoreSaber, playlists)
# to a Steam Frame over SSH and opens them there, so BSManager on the Frame does the
# download, and shows the install progress as a notification.
# Usage: beatsaber-oneclick <ssh-host> <url>
writeShellApplication {
name = "beatsaber-oneclick";
runtimeInputs = [
openssh
libnotify
curl
jq
];
text = ''
remote_script=${./remote.sh}
''
+ builtins.readFile ./beatsaber-oneclick.sh;
}