diff --git a/demilich/services.nix b/demilich/services.nix index 945af75..292ed74 100644 --- a/demilich/services.nix +++ b/demilich/services.nix @@ -1,6 +1,10 @@ { config, ... }: { systemd = { + flatpak = { + enable = true; + }; + user = { services = { niri = { @@ -28,8 +32,20 @@ }; }; - xdg.portal.config.niri = { - "org.freedesktop.impl.portal.FileChooser" = [ "gtk" ]; + xdg = { + portal = { + enable = true; + extraPortals = with pkgs; [ + xdg-desktop-portal-wlr + xdg-desktop-portal-gtk + xdg-desktop-portal-xapp + ]; + config = { + niri = { + "org.freedesktop.impl.portal.FileChooser" = [ "gtk" ]; + }; + }; + }; }; services = {