alpha
Login
or
Join now
seanaye.bsky.social
/
nixos-config
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
me like nix
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
add invidious and kodi sync queue
author
Sean Aye
date
3 months ago
(Mar 22, 2026, 8:03 PM -0400)
commit
8ff86d3a
8ff86d3aae8449a3de9c937fb5f0f996d5bc7c4d
parent
e6bafe3f
e6bafe3fd1715f790f118ade6d559f5972f59174
change-id
xsxtmztm
xsxtmztmnsnpvmtxntrsqusorrovnovu
+42
1 changed file
Expand all
Collapse all
Unified
Split
hosts
mira
configuration.nix
+42
hosts/mira/configuration.nix
Reviewed
···
5
5
...
6
6
}:
7
7
8
8
+
let
9
9
+
jellyfinKodiSyncQueue = pkgs.fetchzip {
10
10
+
url = "https://repo.jellyfin.org/releases/plugin/kodi-sync-queue/kodi-sync-queue_15.0.0.0.zip";
11
11
+
stripRoot = false;
12
12
+
hash = "sha256-xtlG3UQ/WClt/Hvxe+oId2CeJ+PWMDXBUJXh5+k+mZQ=";
13
13
+
};
14
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
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
146
+
147
147
+
# Install Kodi Sync Queue plugin into Jellyfin
148
148
+
systemd.services.jellyfin.serviceConfig.ExecStartPre = let
149
149
+
pluginDir = "/data/.state/nixarr/jellyfin/data/plugins/Kodi Sync Queue/15.0.0.0";
150
150
+
in pkgs.writeShellScript "install-jellyfin-plugins" ''
151
151
+
mkdir -p "${pluginDir}"
152
152
+
cp -f ${jellyfinKodiSyncQueue}/*.dll ${jellyfinKodiSyncQueue}/meta.json "${pluginDir}/"
153
153
+
'';
138
154
139
155
# MQTT broker for Home Assistant (Tasmota devices, Frigate)
140
156
services.mosquitto = {
···
359
375
};
360
376
};
361
377
378
378
+
# Invidious (self-hosted YouTube frontend for Kodi addon)
379
379
+
services.invidious = {
380
380
+
enable = true;
381
381
+
port = 3001;
382
382
+
address = "0.0.0.0";
383
383
+
settings = {
384
384
+
registration_enabled = false;
385
385
+
local = true;
386
386
+
invidious_companion = [{
387
387
+
private_url = "http://127.0.0.1:8282/companion";
388
388
+
}];
389
389
+
invidious_companion_key = "k9x2mP4qR7wL3nYz";
390
390
+
};
391
391
+
};
392
392
+
393
393
+
# Invidious Companion (replaces deprecated inv-sig-helper)
394
394
+
virtualisation.oci-containers.containers.invidious-companion = {
395
395
+
image = "quay.io/invidious/invidious-companion:latest";
396
396
+
ports = [ "127.0.0.1:8282:8282" ];
397
397
+
environment = {
398
398
+
SERVER_SECRET_KEY = "k9x2mP4qR7wL3nYz";
399
399
+
};
400
400
+
extraOptions = [ "--read-only" "--cap-drop=ALL" ];
401
401
+
};
402
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
434
+
3001 # Invidious
393
435
1883 # MQTT for Tasmota devices
394
436
2300 # trmnl
395
437
5000 # Frigate web UI