Set the xdg portal as part of the DE configuration

This commit is contained in:
SebastianStork 2024-03-30 00:38:15 +01:00
parent c33449fa81
commit ba3667f11c
2 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,6 @@
{
config,
pkgs,
lib,
...
}: {
@ -14,5 +15,11 @@
};
myConfig.x-input.enable = true;
xdg.portal = {
enable = true;
extraPortals = [pkgs.xdg-desktop-portal-gtk];
config.common.default = "*";
};
};
}

View file

@ -1,6 +1,5 @@
{
config,
pkgs,
lib,
...
}: {
@ -9,12 +8,6 @@
config = lib.mkIf config.myConfig.flatpak.enable {
services.flatpak.enable = true;
xdg.portal = {
enable = true;
extraPortals = [pkgs.xdg-desktop-portal-gtk];
config.common.default = "*";
};
home-manager.sharedModules = [
{
xdg = {