feat: split flake into multiple hosts and add homelab config

This commit is contained in:
zenware 2025-06-06 22:28:42 -05:00
parent cd07c91676
commit ebe58addaa
19 changed files with 539 additions and 40 deletions

View file

@ -0,0 +1,20 @@
{ config, pkgs, ... }:
let
svcDomain = "tv.${config.networking.domain}";
in
{
services.caddy.virtualHosts."${svcDomain}".extraConfig = ''
reverse_proxy :8096
'';
services.jellyfin = {
enable = true;
# NOTE: Keeping this open for now, for internal network use.
# ports 8096 for http and 8920 for https
openFirewall = true;
};
environment.systemPackages = [
pkgs.jellyfin
pkgs.jellyfin-web
pkgs.jellyfin-ffmpeg
];
}