home/desktop: Try XDG Desktop Portal from COSMIC
This commit is contained in:
parent
d82c1cc47f
commit
fe41868380
|
@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue