chromium screen capture

This commit is contained in:
dusk 2021-08-21 17:13:22 +03:00
parent 454ed1e050
commit 3918630973
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
2 changed files with 7 additions and 3 deletions

View File

@ -146,6 +146,7 @@ in
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
media-session.enable = true;
};
hardware = {
opengl = {

View File

@ -98,9 +98,9 @@ in
let
flags = [
"--enable-vulkan"
#"--flag-switches-begin"
"--enable-features=UseOzonePlatform"
#"--flag-switches-end"
"--flag-switches-begin"
"--enable-features=UseOzonePlatform,WebRTCPipeWireCapturer,IgnoreGPUBlocklis"
"--flag-switches-end"
"--ozone-platform=wayland"
"--enable-webrtc-pipewire-capturer"
"--ignore-gpu-blocklist"
@ -402,6 +402,9 @@ in
enable = true;
extraSessionCommands = extraEnv;
wrapperFeatures.gtk = true;
extraConfig = ''
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
'';
config = {
fonts = {
names = [ font ];