diff options
Diffstat (limited to 'sys/svcs/xdg/default.nix')
-rw-r--r-- | sys/svcs/xdg/default.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/sys/svcs/xdg/default.nix b/sys/svcs/xdg/default.nix index 3229b97c..c3df9f60 100644 --- a/sys/svcs/xdg/default.nix +++ b/sys/svcs/xdg/default.nix @@ -1,8 +1,12 @@ { pkgs, + nixpkgs_tfc, sysLib, + system, ... -}: { +}: let + pkgs_tfc = nixpkgs_tfc.legacyPackages."${system}"; +in { services.dbus.enable = true; xdg = { portal = { @@ -10,6 +14,7 @@ termfilechooser = { enable = true; logLevel = "TRACE"; + package = pkgs_tfc.xdg-desktop-portal-termfilechooser; settings = { filechooser = { default_dir = "/tmp"; @@ -42,10 +47,10 @@ "org.freedesktop.impl.portal.FileChooser" = ["termfilechooser"]; }; }; - extraPortals = with pkgs; [ - xdg-desktop-portal-gtk - xdg-desktop-portal-wlr - xdg-desktop-portal-termfilechooser + extraPortals = [ + pkgs.xdg-desktop-portal-gtk + pkgs.xdg-desktop-portal-wlr + pkgs_tfc.xdg-desktop-portal-termfilechooser ]; }; }; |