mirror of
https://github.com/Superredstone/nixos.git
synced 2026-08-19 11:48:57 +02:00
feat(niri): replace wlr with gnome portal to fix screenshare
This commit is contained in:
@@ -38,17 +38,17 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
xdgOpenUsePortal = true;
|
xdgOpenUsePortal = true;
|
||||||
extraPortals = lib.mkForce [
|
extraPortals = lib.mkForce [
|
||||||
pkgs.xdg-desktop-portal-wlr
|
pkgs.xdg-desktop-portal-gnome
|
||||||
pkgs.xdg-desktop-portal-gtk
|
pkgs.xdg-desktop-portal-gtk
|
||||||
];
|
];
|
||||||
config = {
|
config = {
|
||||||
niri = {
|
niri = {
|
||||||
default = lib.mkForce [
|
default = lib.mkForce [
|
||||||
|
"gnome"
|
||||||
"gtk"
|
"gtk"
|
||||||
"wlr"
|
|
||||||
];
|
];
|
||||||
"org.freedesktop.impl.portal.ScreenCast" = [ "wlr" ];
|
"org.freedesktop.impl.portal.ScreenCast" = [ "gnome" ];
|
||||||
"org.freedesktop.impl.portal.Screenshot" = [ "wlr" ];
|
"org.freedesktop.impl.portal.Screenshot" = [ "gnome" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user