This commit is contained in:
Felix Buehler 2021-03-29 23:29:49 +02:00
parent e7002d95ab
commit 2e6dc90396
4 changed files with 6 additions and 7 deletions

View file

@ -1,5 +1,4 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
uuids = import ./vars-uuids.nix; uuids = import ./vars-uuids.nix;
in in

View file

@ -7,7 +7,7 @@
enable = true; enable = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
intel-media-driver # LIBVA_DRIVER_NAME=iHD intel-media-driver # LIBVA_DRIVER_NAME=iHD
vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium) vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
vaapiVdpau vaapiVdpau
libvdpau-va-gl libvdpau-va-gl
]; ];

View file

@ -39,7 +39,7 @@ in
extraSessionCommands = extraSessionCommands =
'' ''
export XDG_SESSION_TYPE=wayland export XDG_SESSION_TYPE=wayland
export XDG_CURRENT_DESKTOP=sway export XDG_CURRENT_DESKTOP=sway
export SDL_VIDEODRIVER=wayland export SDL_VIDEODRIVER=wayland