Creates a standalone data file that can be imported by both aspects/constants.nix and terranix configurations. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
14 lines
296 B
Nix
14 lines
296 B
Nix
{ lib, inputs, ... }:
|
|
let
|
|
mkNginxVHosts = inputs.self.lib.mkNginxVHosts;
|
|
in
|
|
{
|
|
services.jellyfin = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
};
|
|
|
|
services.nginx.virtualHosts = mkNginxVHosts {
|
|
domains."jellyfin.baduhai.dev".locations."/".proxyPass = "http://127.0.0.1:8096/";
|
|
};
|
|
}
|