install tatulli

This commit is contained in:
Nathan McCarty 2023-04-09 00:57:09 -04:00
parent 0499f75522
commit 4e3eb547d4
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 15 additions and 4 deletions

View File

@ -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;
};
}