jellyfin is working on my domain name

This commit is contained in:
pagedMov
2024-11-02 17:12:00 -04:00
parent f3221dbd29
commit e0c183e467
144 changed files with 59 additions and 125 deletions

View File

@@ -0,0 +1,17 @@
{ lib, config, pkgs, ... }:
{
options = {
caddyConfig.enable = lib.mkEnableOption "Enable my caddy config for the glasshaus.info domain name";
};
config = lib.mkIf config.caddyConfig.enable {
services.caddy = {
enable = true;
configFile = pkgs.writeText "Caddyfile" ''
glasshaus.info {
reverse_proxy localhost:8096
}
'';
};
};
}

View File

@@ -0,0 +1,5 @@
{ pkgs, lib, config, ... }:
{
imports = [ ./caddy.nix ];
}