From 6b999083e7cd52fd3ae8610972fbad0c6751130b Mon Sep 17 00:00:00 2001 From: TheGeneralist <180094941+thegeneralist01@users.noreply.github.com> Date: Sat, 31 May 2025 22:02:40 +0200 Subject: [PATCH] feat: jellyfish --- hosts/thegeneralist-central/configuration.nix | 2 +- hosts/thegeneralist-central/jellyfin.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 hosts/thegeneralist-central/jellyfin.nix diff --git a/hosts/thegeneralist-central/configuration.nix b/hosts/thegeneralist-central/configuration.nix index 88615ef..260df04 100644 --- a/hosts/thegeneralist-central/configuration.nix +++ b/hosts/thegeneralist-central/configuration.nix @@ -5,7 +5,7 @@ { self, config, pkgs, lib, inputs, ... }: { - imports = [ ./hardware-configuration.nix ]; + imports = [ ./hardware-configuration.nix ./jellyfin.nix ]; users.knownUsers = [ "central" diff --git a/hosts/thegeneralist-central/jellyfin.nix b/hosts/thegeneralist-central/jellyfin.nix new file mode 100644 index 0000000..1f90b34 --- /dev/null +++ b/hosts/thegeneralist-central/jellyfin.nix @@ -0,0 +1,13 @@ +{ + services.jellyfin = { + user = "central"; + group = "central"; + logDir = "/var/log/jellyfin"; + enable = true; + package = pkgs.jellyfin; + dataDir = "/var/lib/jellyfin"; + cacheDir = "/Users/central/.cache/jellyfin"; + configDir = "/etc/jellyfin"; + openFirewall = true; + }; +}