nix/modules/xdg-portal.nix

10 lines
301 B
Nix

{ lib, config, ... }: lib.mkIf config.bchmnn.gui.enable {
xdg.portal = {
enable = true;
wlr.enable = true;
# gtk portal needed to make gtk apps happy
# extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
# upper has been replaced by following
config.common.default = "*";
};
}