added xdg portal to nixos config

This commit is contained in:
Jakub Kropáček 2025-02-11 11:31:13 +01:00
parent 8d6227aa3a
commit adbd6df7d5
2 changed files with 12 additions and 6 deletions

View file

@ -122,11 +122,5 @@ in
package = pkgs.adwaita-qt;
};
};
xdg.portal = {
enable = true;
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
configPackages = with pkgs; [ xdg-desktop-portal-gtk ];
};
};
}

View file

@ -23,6 +23,18 @@ in
desktopManager.gnome.enable = true;
};
xdg.portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-gnome
];
configPackages = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-gnome
];
};
services.gnome.gnome-browser-connector.enable = true;
environment.gnome.excludePackages = with pkgs; [