This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

tools.jellyseekrr: use rbw instead of pass for API key

+4 -4
+1 -1
tools/jellyseekrr/flake-module.nix
··· 8 8 name = "jellyseekrr"; 9 9 runtimeInputs = with pkgs; [ 10 10 self.packages.${pkgs.system}.menu 11 - self.packages.${pkgs.system}.pass 11 + rbw 12 12 curl 13 13 jq 14 14 ];
+3 -3
tools/jellyseekrr/jellyseekrr.sh
··· 4 4 # Configuration 5 5 JELLYSEERR_URL="https://flox.lassul.us" 6 6 7 - # Get API key from pass or environment 8 - JELLYSEERR_API_KEY="${JELLYSEERR_API_KEY:-$(pass show www/flox.lassul.us/api_key 2>/dev/null | tr -d '\n' || true)}" 7 + # Get API key from rbw or environment 8 + JELLYSEERR_API_KEY="${JELLYSEERR_API_KEY:-$(rbw get flix.lassul.us --raw 2>/dev/null | jq -r '.notes // empty' || true)}" 9 9 10 10 # Check if API key is available 11 11 if [[ -z "$JELLYSEERR_API_KEY" ]]; then 12 12 echo "Error: Could not retrieve API key" >&2 13 - echo "Set JELLYSEERR_API_KEY environment variable or ensure 'pass show www/flox.lassul.us/api_key' works" >&2 13 + echo "Set JELLYSEERR_API_KEY environment variable or ensure the flix.lassul.us rbw entry has the API key in notes" >&2 14 14 exit 1 15 15 fi 16 16