system/modules/xdg.nix

18 lines
461 B
Nix
Raw Normal View History

2024-10-14 19:37:56 -04:00
{ config, pkgs, ... }:
{
xdg = {
autostart.enable = true;
portal = {
enable = true;
configPackages = [ pkgs.xdg-desktop-portal-hyprland ];
2024-11-29 18:31:17 -05:00
extraPortals = [ pkgs.xdg-desktop-portal-hyprland pkgs.xdg-desktop-portal-wlr pkgs.xdg-desktop-portal-gtk ];
2024-10-14 19:37:56 -04:00
xdgOpenUsePortal = true;
wlr.enable = true;
};
# systemDirs = {
# config = [ "/etc/xdg" ];
# data = [ "/usr/share" "/usr/local/share" ];
# };
};
}