{ config, ... }: { age.secrets.cifs-jellyfin.file = ../../secrets/cifs-jellyfin.age; fileSystems."/srv/video" = { device = "//u439959-sub5.your-storagebox.de/u439959-sub5"; fsType = "smb3"; options = [ "x-systemd.automount" "noauto" "x-systemd.mount-timeout=5s" "credentials=${config.age.secrets.cifs-jellyfin.path}" "seal" "multichannel" "forceuid" "forcegid" "uid=jellyfin" "gid=jellyfin" ]; }; services.jellyfin = { enable = true; }; services.caddy.virtualHosts = { "jf.${config.networking.domain}" = { extraConfig = '' reverse_proxy localhost:8096 ''; }; }; }