nixos: portal: use configuration from Arch Linux
This commit is contained in:
parent
feb7cffcf0
commit
0df86e31ee
1 changed files with 7 additions and 7 deletions
|
@ -20,13 +20,13 @@
|
|||
wlr.enable = true;
|
||||
extraPortals = with pkgs; [xdg-desktop-portal-gtk];
|
||||
config = {
|
||||
common.default = [
|
||||
"gtk"
|
||||
];
|
||||
sway.default = [
|
||||
"wlr"
|
||||
"gtk"
|
||||
];
|
||||
# from Arch Linux
|
||||
# https://gitlab.archlinux.org/archlinux/packaging/packages/sway/-/blob/main/sway-portals.conf
|
||||
sway = {
|
||||
default = "gtk";
|
||||
"org.freedesktop.impl.portal.ScreenCast" = "wlr";
|
||||
"org.freedesktop.impl.portal.Screenshot" = "wlr";
|
||||
};
|
||||
};
|
||||
};
|
||||
services = {
|
||||
|
|
Loading…
Reference in a new issue