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