From f34815dfb181c09d19a32c0c5e2a4ef71e37775c Mon Sep 17 00:00:00 2001 From: blahai Date: Mon, 16 Dec 2024 18:17:09 +0200 Subject: [PATCH] Global: add jellyfin --- modules/nixos/services/default.nix | 1 + modules/nixos/services/jellyfin.nix | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 modules/nixos/services/jellyfin.nix diff --git a/modules/nixos/services/default.nix b/modules/nixos/services/default.nix index fdd5511..e3bb1e9 100644 --- a/modules/nixos/services/default.nix +++ b/modules/nixos/services/default.nix @@ -3,5 +3,6 @@ imports = [ ./pipewire.nix ./tailscale.nix + ./jellyfin.nix ]; } diff --git a/modules/nixos/services/jellyfin.nix b/modules/nixos/services/jellyfin.nix new file mode 100644 index 0000000..316c654 --- /dev/null +++ b/modules/nixos/services/jellyfin.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: { + services.jellyfin = { + enable = true; + openFirewall = true; + dataDir = "/mnt/zootfs/Media/jellyfin"; + }; +}