From 12f4fa6834bf24d6bca72b648bc5f660e45b4385 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 9 Apr 2023 01:08:40 -0400 Subject: [PATCH] plexraw --- machines/perception/configuration.nix | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/machines/perception/configuration.nix b/machines/perception/configuration.nix index 7cb4359..2cbcdbb 100644 --- a/machines/perception/configuration.nix +++ b/machines/perception/configuration.nix @@ -52,8 +52,8 @@ # Setup home manager home-manager.users.nathan = import ./home.nix; - ## Media Streaming setup + # Setup hardware hardware.opengl = { enable = true; @@ -66,14 +66,16 @@ }; # Configure plex services.plex = let - plexPass = pkgs.plex.overrideAttrs (_: rec { - version = "1.32.0.6918-6f393eda1"; - src = pkgs.fetchurl { - url = - "https://downloads.plex.tv/plex-media-server-new/${version}/redhat/plexmediaserver-${version}.x86_64.rpm"; - hash = "sha256-O8JGZUPqGjx+WamnBWjnnwPRuUuf1AzaOFmEv+6GZZo="; - }; - }); + plexPass = pkgs.plex.override { + plexRaw = pkgs.plexRaw.overrideAttrs (_: rec { + version = "1.32.0.6918-6f393eda1"; + src = pkgs.fetchurl { + url = + "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb"; + sha256 = "sha256-9rGmUk0m7tBLSo5LeQ1fv2rnmK7WQ9AVDUPU0aqXLrM="; + }; + }); + }; in { enable = true; package = plexPass;