2023-12-02 00:46:56 +01:00
|
|
|
{ pkgs, ... }: {
|
2023-05-24 03:17:09 +02:00
|
|
|
services.dbus.enable = true;
|
2023-04-27 01:08:20 +02:00
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
xdgOpenUsePortal = true;
|
2023-12-10 12:55:54 +01:00
|
|
|
configPackages = [ pkgs.xdg-desktop-portal-gtk ];
|
2023-04-27 01:08:20 +02:00
|
|
|
};
|
|
|
|
|
2023-08-17 09:31:46 +02:00
|
|
|
environment.systemPackages = [ pkgs.xdg-utils ];
|
|
|
|
|
2023-04-27 01:08:20 +02:00
|
|
|
# HACK: copied from @lily on discord.
|
2023-08-17 09:31:46 +02:00
|
|
|
# systemd.user.services.xdg-desktop-portal.path = lib.mkAfter [ "/run/current-system/sw" ];
|
2023-05-24 03:17:09 +02:00
|
|
|
# services.gnome.at-spi2-core.enable = true;
|
2023-04-27 01:08:20 +02:00
|
|
|
}
|