From 17e2cd13a6fc1588648b97bfb7381992884f85b2 Mon Sep 17 00:00:00 2001 From: Aniket Bhattacharyea Date: Tue, 12 Dec 2023 17:22:27 +0530 Subject: [PATCH] feat(nixos): add Jellyfin to Miranda --- cells/nixos/nixosSuites.nix | 1 + cells/nixos/profiles/entertainment/jellyfin.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 cells/nixos/profiles/entertainment/jellyfin.nix diff --git a/cells/nixos/nixosSuites.nix b/cells/nixos/nixosSuites.nix index 125d2eb..48d90a6 100644 --- a/cells/nixos/nixosSuites.nix +++ b/cells/nixos/nixosSuites.nix @@ -22,6 +22,7 @@ in imports = [ profiles.core profiles.entertainment.plex + profiles.entertainment.jellyfin users.aniket-miranda users.root inputs.cells.secrets.nixosProfiles.secrets diff --git a/cells/nixos/profiles/entertainment/jellyfin.nix b/cells/nixos/profiles/entertainment/jellyfin.nix new file mode 100644 index 0000000..f10df23 --- /dev/null +++ b/cells/nixos/profiles/entertainment/jellyfin.nix @@ -0,0 +1,12 @@ +_: { pkgs, ...}: { + environment.systemPackages = [ + pkgs.jellyfin + pkgs.jellyfin-web + pkgs.jellyfin-ffmpeg + ]; + + services.jellyfin = { + enable = true; + openFirewall = true; + }; +} \ No newline at end of file