calcite,weilite: use comin to auto update

This commit is contained in:
xinyangli 2024-12-21 20:52:27 +08:00
parent ade0694d14
commit 49520149ab
Signed by: xin
SSH key fingerprint: SHA256:UU5pRTl7NiLFJbWJZa+snLylZSXIz5rgHmwjzv8v4oE
7 changed files with 46 additions and 21 deletions

View file

@ -4,5 +4,6 @@
./restic.nix
./media-download.nix
./immich.nix
./jellyfin.nix
];
}

View file

@ -0,0 +1,15 @@
{ config, pkgs, ... }:
{
services.jellyfin.enable = true;
environment.systemPackages = with pkgs; [
jellyfin
jellyfin-web
jellyfin-ffmpeg
];
services.caddy.virtualHosts."https://weilite.coho-tet.ts.net:8920".extraConfig = ''
reverse_proxy 127.0.0.1:8096
'';
networking.firewall.allowedTCPPorts = [ 8920 ]; # allow on lan
users.users.jellyfin.extraGroups = [ "render" ];
}