diff --git a/machines/perception/configuration.nix b/machines/perception/configuration.nix index 730c1fc..906d6e4 100644 --- a/machines/perception/configuration.nix +++ b/machines/perception/configuration.nix @@ -25,10 +25,6 @@ }; }; config = { - swaywm = { - # Not actually a work station i just want hardware encoding to work right :( - enable = true; - }; setupGrub = false; nix = { autoUpdate = true; @@ -58,6 +54,16 @@ home-manager.users.nathan = import ./home.nix; ## Media Streaming setup + # Setup hardware + hardware.opengl = { + enable = true; + extraPackages = with pkgs; [ + intel-media-driver # LIBVA_DRIVER_NAME=iHD + vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium) + vaapiVdpau + libvdpau-va-gl + ]; + }; # Configure plex services.plex = let plexPass = pkgs.plex.overrideAttrs (_: rec { @@ -73,4 +79,9 @@ package = plexPass; openFirewall = true; }; + # Configure tatulli + services.tatulli = { + enable = true; + openFirewall = true; + }; }