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 # Setup home manager
home-manager.users.nathan = import ./home.nix; home-manager.users.nathan = import ./home.nix;
## Media Streaming setup ## Media Streaming setup
# Setup hardware # Setup hardware
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
@ -66,14 +66,16 @@
}; };
# Configure plex # Configure plex
services.plex = let services.plex = let
plexPass = pkgs.plex.overrideAttrs (_: rec { plexPass = pkgs.plex.override {
version = "1.32.0.6918-6f393eda1"; plexRaw = pkgs.plexRaw.overrideAttrs (_: rec {
src = pkgs.fetchurl { version = "1.32.0.6918-6f393eda1";
url = src = pkgs.fetchurl {
"https://downloads.plex.tv/plex-media-server-new/${version}/redhat/plexmediaserver-${version}.x86_64.rpm"; url =
hash = "sha256-O8JGZUPqGjx+WamnBWjnnwPRuUuf1AzaOFmEv+6GZZo="; "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb";
}; sha256 = "sha256-9rGmUk0m7tBLSo5LeQ1fv2rnmK7WQ9AVDUPU0aqXLrM=";
}); };
});
};
in { in {
enable = true; enable = true;
package = plexPass; package = plexPass;