Move xdg portals into home-manager
This commit is contained in:
parent
f30a5824a5
commit
099bcb150b
4 changed files with 13 additions and 8 deletions
12
modules/home/wms/programs/portals/default.nix
Normal file
12
modules/home/wms/programs/portals/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
xdg.portal = {
|
||||
enable = config.home.desktop.enable;
|
||||
configPackages = config.xdg.portal.extraPortals;
|
||||
xdgOpenUsePortal = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-gtk
|
||||
xdg-desktop-portal-wlr
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue