17 lines
326 B
Nix
17 lines
326 B
Nix
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
options.features.homelab.jellyfin.enable = mkEnableOption "Enable jellyfin";
|
|
|
|
config = mkIf config.features.homelab.jellyfin.enable {
|
|
services.jellyfin = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
group = "media";
|
|
configDir = "/mnt/media/jellyfin";
|
|
};
|
|
};
|
|
}
|