feat: Jellyfin on Mopidy

This commit is contained in:
punkfairie 2025-03-15 18:59:27 -07:00
parent 6f494a002c
commit ade6f3640a
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
3 changed files with 22 additions and 2 deletions

View file

@ -9,13 +9,18 @@ in {
options.marleyos.services.mopidy.enable = lib.mkEnableOption "mopidy";
config = lib.mkIf cfg.enable {
age.secrets."mopidy-jellyfin.conf" = {
file = ../../../../secrets/mopidy-jellyfin.conf.age;
owner = "mopidy";
mode = "600";
};
services.mopidy = {
enable = true;
extensionPackages = with pkgs; [
mopidy-mpd
# TODO: Enable once we have secrets (requires password in config)
# mopidy-jellyfin
mopidy-jellyfin
];
configuration =
@ -24,6 +29,10 @@ in {
[mpd]
hostname = ::
'';
extraConfigFiles = [
config.age.secrets."mopidy-jellyfin.conf".path
];
};
};
}

View file

@ -0,0 +1,10 @@
age-encryption.org/v1
-> ssh-ed25519 Ut1iyA 1KhOCqrugrIdjc8dW4QxEB11PKRT5RfknA4RXG/BKHQ
cmEOrOz3ARBjx7Rm0qlesMCyjdP0DnobGuePBbwzyvY
-> ssh-ed25519 SC7Q6w NLUNvK+nY8RVnQ9DKoEzAPp2KmvLeb360Slu+A2AqWI
qM0cA3x1waTfiKHs0W+n3rX9IcSX2mhrLg2spR2sgF0
--- oQsZS55o1/Mnb+gEIOZtFebum6bob+cRJnnF7DKEmKE
ù!EÞ£¶”cÛ©ô@Í`f
Žë@ZJ-ÿ±dþ‰Û¾6a¬Ig%ìXþLm&¹w]!YTѼ6)œlHV5¶±ƒR£.K 3ÊrüLÿ‚‹!ŒüðZuôД„ê×ðÏ<C3B0>yÿ” <E2809D>E ³ŽQÚdìw³<77>
G\]¯èk§½Z]ŒmÃ3`ˆ–®

View file

@ -12,4 +12,5 @@ let
in {
"babeshare-pass.age".publicKeys = defaultKeys;
"ddclient.conf.age".publicKeys = defaultKeys;
"mopidy-jellyfin.conf.age".publicKeys = [marley nyx];
}