summary refs log tree commit diff
path: root/modules/jellyfin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/jellyfin.nix')
-rw-r--r--modules/jellyfin.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/jellyfin.nix b/modules/jellyfin.nix
new file mode 100644
index 0000000..1194573
--- /dev/null
+++ b/modules/jellyfin.nix
@@ -0,0 +1,18 @@
+{ config, pkgs, unstable, ... }:
+
+let
+  auxiliaryPkgs = import ../pkgs { inherit pkgs unstable; };
+in
+{
+  services.jellyfin = {
+    enable = true;
+    openFirewall = true;
+    package = auxiliaryPkgs.jellyfin;
+  };
+
+  environment.systemPackages = (with auxiliaryPkgs; [
+    jellyfin
+    jellyfin-web
+    pkgs.jellyfin-ffmpeg
+  ]);
+}