home/desktop: Try XDG Desktop Portal from COSMIC

This commit is contained in:
Mikael Voss 2024-10-06 22:09:43 +02:00
parent d82c1cc47f
commit fe41868380
No known key found for this signature in database

View file

@ -341,9 +341,14 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) {
xdg.portal = { xdg.portal = {
enable = true; enable = true;
configPackages = [ config.programs.niri.package ]; config = {
common = {
default = [ "cosmic" "gtk" ];
};
};
extraPortals = with pkgs; [ extraPortals = with pkgs; [
xdg-desktop-portal-gnome xdg-desktop-portal-cosmic
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
]; ];
}; };