diff --git a/machines/perception/configuration.nix b/machines/perception/configuration.nix index 9768751..730c1fc 100644 --- a/machines/perception/configuration.nix +++ b/machines/perception/configuration.nix @@ -25,6 +25,10 @@ }; }; config = { + swaywm = { + # Not actually a work station i just want hardware encoding to work right :( + enable = true; + }; setupGrub = false; nix = { autoUpdate = true; @@ -54,10 +58,19 @@ home-manager.users.nathan = import ./home.nix; ## Media Streaming setup - # First enable hardware acceleration - hardware.opengl = { + # 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="; + }; + }); + in { enable = true; - driSupport = true; - driSupport32Bit = true; + package = plexPass; + openFirewall = true; }; }