chromium screen capture
This commit is contained in:
parent
454ed1e050
commit
3918630973
@ -146,6 +146,7 @@ in
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
media-session.enable = true;
|
||||
};
|
||||
hardware = {
|
||||
opengl = {
|
||||
|
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user