nix/module/desktop/Portal.nix

21 lines
261 B
Nix

{ pkgs, ... }: {
xdg.portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
];
config = {
common = {
default = [
"gtk"
"wlr"
];
};
};
wlr = {
enable = true;
};
xdgOpenUsePortal = false;
};
}