nixos: portal: use configuration from Arch Linux

This commit is contained in:
Guanran Wang 2024-01-16 16:22:15 +08:00
parent feb7cffcf0
commit 0df86e31ee
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -20,13 +20,13 @@
wlr.enable = true; wlr.enable = true;
extraPortals = with pkgs; [xdg-desktop-portal-gtk]; extraPortals = with pkgs; [xdg-desktop-portal-gtk];
config = { config = {
common.default = [ # from Arch Linux
"gtk" # https://gitlab.archlinux.org/archlinux/packaging/packages/sway/-/blob/main/sway-portals.conf
]; sway = {
sway.default = [ default = "gtk";
"wlr" "org.freedesktop.impl.portal.ScreenCast" = "wlr";
"gtk" "org.freedesktop.impl.portal.Screenshot" = "wlr";
]; };
}; };
}; };
services = { services = {