Set up chromium with support for wayland and widevine.
This commit is contained in:
@@ -297,11 +297,13 @@ in
|
||||
programs.sway.extraSessionCommands =
|
||||
if config.me.buildingIso then
|
||||
''
|
||||
export WLR_RENDERER_ALLOW_SOFTWARE=1;
|
||||
export WLR_RENDERER_ALLOW_SOFTWARE=1
|
||||
export NIXOS_OZONE_WL=1 # Wayland support for chromium and electron
|
||||
''
|
||||
else
|
||||
''
|
||||
export WLR_RENDERER=vulkan
|
||||
export NIXOS_OZONE_WL=1 # Wayland support for chromium and electron
|
||||
'';
|
||||
|
||||
programs.sway = {
|
||||
|
||||
Reference in New Issue
Block a user