From 4e3eb547d46a4c052d9a14d3392babb9ee494a0d Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 9 Apr 2023 00:57:09 -0400 Subject: [PATCH] install tatulli --- machines/perception/configuration.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) 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; + }; }