From bc388c1d27444b75aa8825f28f2caabfec26861d Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 23 Mar 2024 15:33:12 +0100 Subject: fix(flake): Import my modules stuck in nixpkgs prs directly That makes it possible to use plain `nixpkgs-unstable` for the whole system, whilst still using my unmerged modules and packages. --- sys/svcs/xdg/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'sys/svcs/xdg') 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 ]; }; }; -- cgit 1.4.1