chromium screen capture
This commit is contained in:
parent
454ed1e050
commit
3918630973
@ -146,6 +146,7 @@ in
|
|||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
|
media-session.enable = true;
|
||||||
};
|
};
|
||||||
hardware = {
|
hardware = {
|
||||||
opengl = {
|
opengl = {
|
||||||
|
@ -98,9 +98,9 @@ in
|
|||||||
let
|
let
|
||||||
flags = [
|
flags = [
|
||||||
"--enable-vulkan"
|
"--enable-vulkan"
|
||||||
#"--flag-switches-begin"
|
"--flag-switches-begin"
|
||||||
"--enable-features=UseOzonePlatform"
|
"--enable-features=UseOzonePlatform,WebRTCPipeWireCapturer,IgnoreGPUBlocklis"
|
||||||
#"--flag-switches-end"
|
"--flag-switches-end"
|
||||||
"--ozone-platform=wayland"
|
"--ozone-platform=wayland"
|
||||||
"--enable-webrtc-pipewire-capturer"
|
"--enable-webrtc-pipewire-capturer"
|
||||||
"--ignore-gpu-blocklist"
|
"--ignore-gpu-blocklist"
|
||||||
@ -402,6 +402,9 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
extraSessionCommands = extraEnv;
|
extraSessionCommands = extraEnv;
|
||||||
wrapperFeatures.gtk = true;
|
wrapperFeatures.gtk = true;
|
||||||
|
extraConfig = ''
|
||||||
|
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||||
|
'';
|
||||||
config = {
|
config = {
|
||||||
fonts = {
|
fonts = {
|
||||||
names = [ font ];
|
names = [ font ];
|
||||||
|
Loading…
Reference in New Issue
Block a user