nix/module/desktop/Portal.nix

21 lines
260 B
Nix
Raw Normal View History

2024-03-28 12:01:06 +03:00
{ pkgs, ... }: {
xdg.portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
];
config = {
common = {
default = [
"gtk"
"wlr"
];
};
};
wlr = {
enable = true;
};
xdgOpenUsePortal = true;
};
}