mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-14 16:17:17 +00:00
15 lines
430 B
Nix
15 lines
430 B
Nix
{pkgs, ...}: {
|
|
xdg.portal = {
|
|
enable = true;
|
|
extraPortals = with pkgs; [
|
|
xdg-desktop-portal-gtk
|
|
];
|
|
# Specify which portals should be used by the individual interfaces
|
|
# see: <https://github.com/flatpak/xdg-desktop-portal/blob/1.18.1/doc/portals.conf.rst.in>
|
|
config.common = {
|
|
# Use this portal for every interface, unless a specific override is present
|
|
default = ["gtk"];
|
|
};
|
|
};
|
|
}
|