plexraw
This commit is contained in:
parent
c043a94c53
commit
12f4fa6834
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue