From 66a9a87d9077066d2db3194e069cfb578fa41bf8 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Fri, 27 Aug 2021 10:24:16 +0200 Subject: [PATCH] updated plex --- hosts/architect/plex.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/hosts/architect/plex.nix b/hosts/architect/plex.nix index 07290b6..253ce92 100644 --- a/hosts/architect/plex.nix +++ b/hosts/architect/plex.nix @@ -1,6 +1,22 @@ +{ pkgs, ...}: + with import ./network.nix; { - services.plex.enable = true; + services.plex = { + enable = true; + package = pkgs.plex.overrideAttrs (x: let + # see https://www.plex.tv/media-server-downloads/ for 64bit rpm + version = "1.24.1.4931-1a38e63c6"; + sha1 = "7d0751f7efaa7b5fc9ac2a3cdb130712db6b6d89"; + in { + name = "plex-${version}"; + src = pkgs.fetchurl { + url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb"; + inherit sha1; + }; + } + ); + }; services.nginx = { enable = true;