Move homelab modules

This commit is contained in:
Oliver Davies 2025-04-05 09:00:00 +01:00
parent 2af364ef96
commit 42b70676bc
10 changed files with 6 additions and 20 deletions

View file

@ -1,22 +0,0 @@
{ config, lib, ... }:
with lib;
{
options.nixosModules.jellyfin.enable = mkEnableOption "Enable jellyfin";
config = mkIf config.nixosModules.jellyfin.enable {
services.jellyfin = {
enable = true;
openFirewall = true;
group = "media";
configDir = "/mnt/media/jellyfin";
};
services.caddy.virtualHosts."jellyfin.oliverdavies.uk" = {
useACMEHost = "oliverdavies.uk";
extraConfig = "reverse_proxy localhost:8096";
};
};
}