Enable jellyfin on sisko
Some checks failed
/ test (push) Failing after 1h51m2s

This commit is contained in:
Andrea Ciceri 2024-12-30 17:06:17 +01:00
parent 16bcd5e813
commit 6b795f7557
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
3 changed files with 16 additions and 2 deletions

View file

@ -31,6 +31,7 @@
"paperless" "paperless"
"syncthing" "syncthing"
"atticd" "atticd"
"jellyfin"
] ]
++ [ ++ [
./disko.nix ./disko.nix

View file

@ -14,8 +14,7 @@
"vpn.aciceri.dev" "vpn.aciceri.dev"
"photos.aciceri.dev" "photos.aciceri.dev"
"status.aciceri.dev" "status.aciceri.dev"
"paper.aciceri.dev" "jelly.aciceri.dev"
"cloud.aciceri.dev"
]; ];
apiTokenFile = config.age.secrets.cloudflare-dyndns-api-token.path; apiTokenFile = config.age.secrets.cloudflare-dyndns-api-token.path;
}; };

View file

@ -1,7 +1,21 @@
{ config, ... }:
{ {
services.jellyfin = { services.jellyfin = {
enable = true; enable = true;
openFirewall = true;
}; };
users.users.jellyfin.extraGroups = [ "transmission" ]; users.users.jellyfin.extraGroups = [ "transmission" ];
environment.persistence."/persist".directories = [
config.services.jellyfin.dataDir
];
services.nginx.virtualHosts = {
"jelly.aciceri.dev" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://127.0.0.1:8096";
};
};
} }