me like nix
0

Configure Feed

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

add invidious and kodi sync queue

author
Sean Aye
date (Mar 22, 2026, 8:03 PM -0400) commit 8ff86d3a parent e6bafe3f change-id xsxtmztm
+42
+42
hosts/mira/configuration.nix
··· 5 5 ... 6 6 }: 7 7 8 + let 9 + jellyfinKodiSyncQueue = pkgs.fetchzip { 10 + url = "https://repo.jellyfin.org/releases/plugin/kodi-sync-queue/kodi-sync-queue_15.0.0.0.zip"; 11 + stripRoot = false; 12 + hash = "sha256-xtlG3UQ/WClt/Hvxe+oId2CeJ+PWMDXBUJXh5+k+mZQ="; 13 + }; 14 + in 8 15 { 9 16 imports = [ 10 17 # Include the results of the hardware scan. ··· 46 53 47 54 users.users.sean.openssh.authorizedKeys.keys = [ 48 55 "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDCIqgZ7kedxo+mOW7YG73Vp3zel3h180y3GKvHtRsXfGlpIIvRDy7pgCBQ4AGXYD4y78URQmFohYSAPqCPOPaWcU2un3XG9KvCzEsHmsbskPonitUmCiKvrKkb6oW4jCBtd7AEtBn+AiajAQFtPZ7NN2Df3AmTypvR6Irg7R+nxnfc9NTIHmGvxSDyWcbb4pguL20sctUSqGL6xGh8q/bqhdOThSimM+z9bEUNxK/5rPhwkNniMrp4pJcUrUiAh5/4DiRFG6KT+oeg+/myoz/Z1sPvAs7u/8JDQI4RshRD8Hu0oTkRBN6Hxj478q2SXbeBUZlD6IdjP3RhGpmSecoDdtWqKbpuV3eVRtQtba3KL86GBeV/bugaOdJ1Aud+1SOFJreAAuvxzMMKT+cdQZk6oOPP148DA/No+mDm/2S43lcdCXh79wA6YRAmKQ8jmZxTCtPutrvuZK1rguvvUlEoG/vhdNHh7eDa4Td07V6bjCRPUl8qk/e4M0E3pwsTlZc=" 56 + "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIOIgEteUEW06dnBHe2z8vNLwz2iMKe8bba6JgMmOUpcBAAAABHNzaDo= sean@framework16" 49 57 ]; 50 58 51 59 # List services that you want to enable: ··· 135 143 }; 136 144 }; 137 145 }; 146 + 147 + # Install Kodi Sync Queue plugin into Jellyfin 148 + systemd.services.jellyfin.serviceConfig.ExecStartPre = let 149 + pluginDir = "/data/.state/nixarr/jellyfin/data/plugins/Kodi Sync Queue/15.0.0.0"; 150 + in pkgs.writeShellScript "install-jellyfin-plugins" '' 151 + mkdir -p "${pluginDir}" 152 + cp -f ${jellyfinKodiSyncQueue}/*.dll ${jellyfinKodiSyncQueue}/meta.json "${pluginDir}/" 153 + ''; 138 154 139 155 # MQTT broker for Home Assistant (Tasmota devices, Frigate) 140 156 services.mosquitto = { ··· 359 375 }; 360 376 }; 361 377 378 + # Invidious (self-hosted YouTube frontend for Kodi addon) 379 + services.invidious = { 380 + enable = true; 381 + port = 3001; 382 + address = "0.0.0.0"; 383 + settings = { 384 + registration_enabled = false; 385 + local = true; 386 + invidious_companion = [{ 387 + private_url = "http://127.0.0.1:8282/companion"; 388 + }]; 389 + invidious_companion_key = "k9x2mP4qR7wL3nYz"; 390 + }; 391 + }; 392 + 393 + # Invidious Companion (replaces deprecated inv-sig-helper) 394 + virtualisation.oci-containers.containers.invidious-companion = { 395 + image = "quay.io/invidious/invidious-companion:latest"; 396 + ports = [ "127.0.0.1:8282:8282" ]; 397 + environment = { 398 + SERVER_SECRET_KEY = "k9x2mP4qR7wL3nYz"; 399 + }; 400 + extraOptions = [ "--read-only" "--cap-drop=ALL" ]; 401 + }; 402 + 362 403 # Enable the OpenSSH daemon. 363 404 # services.openssh.enable = true; 364 405 ··· 390 431 8096 # jellyfin 391 432 5055 # jellyseer 392 433 3000 # vite dev port 434 + 3001 # Invidious 393 435 1883 # MQTT for Tasmota devices 394 436 2300 # trmnl 395 437 5000 # Frigate web UI