From 9fea5ac54fca24ca1c4b484300e439e6587e87fe Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sat, 9 May 2020 23:53:48 +0200 Subject: [PATCH] xdg.mimeApps: use `xdg.dataFile` instead of `home.file` The former honors the data home path set by the user. (cherry picked from commit b886cbea0bcc62b63dd4c7654843df62714e55b6) --- modules/misc/xdg-mime-apps.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/misc/xdg-mime-apps.nix b/modules/misc/xdg-mime-apps.nix index 7ba4083b3..81d2ba0fc 100644 --- a/modules/misc/xdg-mime-apps.nix +++ b/modules/misc/xdg-mime-apps.nix @@ -74,7 +74,7 @@ in { config = mkIf cfg.enable { # Deprecated but still used by some applications. - home.file.".local/share/applications/mimeapps.list".source = + xdg.dataFile."applications/mimeapps.list".source = config.xdg.configFile."mimeapps.list".source; xdg.configFile."mimeapps.list".text =