mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-15 08:57:18 +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"];
|
|
};
|
|
};
|
|
}
|