This commit is contained in:
Nathan McCarty 2023-04-09 01:08:40 -04:00
parent c043a94c53
commit 12f4fa6834
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 11 additions and 9 deletions

View File

@ -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 {
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}/redhat/plexmediaserver-${version}.x86_64.rpm";
hash = "sha256-O8JGZUPqGjx+WamnBWjnnwPRuUuf1AzaOFmEv+6GZZo=";
"https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb";
sha256 = "sha256-9rGmUk0m7tBLSo5LeQ1fv2rnmK7WQ9AVDUPU0aqXLrM=";
};
});
};
in {
enable = true;
package = plexPass;