Move xdg portals into home-manager
This commit is contained in:
parent
f30a5824a5
commit
099bcb150b
4 changed files with 13 additions and 8 deletions
|
@ -4,6 +4,7 @@
|
|||
./clipman
|
||||
./kanshi
|
||||
./mako
|
||||
./portals
|
||||
./rofi
|
||||
./swayidle
|
||||
./swaylock
|
||||
|
|
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
|
||||
];
|
||||
};
|
||||
}
|
|
@ -4,7 +4,6 @@
|
|||
./displaymanager
|
||||
./keyd
|
||||
./libvirtd
|
||||
./portals
|
||||
./snowflake
|
||||
./ssh
|
||||
./tlp
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
xdg.portal.extraPortals = with pkgs; lib.mkIf config.system.desktop.enable [
|
||||
xdg-desktop-portal-gnome
|
||||
xdg-desktop-portal-wlr
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue