nix-config/modules/homelab/jellyfin.nix
Oliver Davies 5a0aff41dc
Some checks are pending
/ check (push) Waiting to run
home01: add jellyfin
2025-11-21 17:23:11 +00:00

22 lines
412 B
Nix

{ lib, ... }:
{
flake.modules.nixos.server-jellyfin =
{ config, ... }:
let
cfg = config.homelab.services.jellyfin;
in
with lib;
{
options.homelab.services.jellyfin = {
enable = mkEnableOption "Enable jellyfin";
};
config = mkIf cfg.enable {
services.jellyfin = {
enable = true;
openFirewall = true;
};
};
};
}