programs/xdg: setup system-wide portals
This commit is contained in:
parent
8967b25c80
commit
23c19987a3
1 changed files with 14 additions and 0 deletions
14
config/nixos/programs/xdg.nix
Normal file
14
config/nixos/programs/xdg.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{pkgs, ...}: {
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
xdgOpenUsePortal = true;
|
||||
config = {
|
||||
common.default = ["gtk"];
|
||||
hyprland.default = ["gtk" "hyprland"];
|
||||
};
|
||||
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue