1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-03 16:39:46 +01:00

xdg.mimeApps: use xdg.dataFile instead of home.file

The former honors the data home path set by the user.

(cherry picked from commit b886cbea0b)
This commit is contained in:
Robert Helgesson 2020-05-09 23:53:48 +02:00
parent 22d03f20fb
commit 9fea5ac54f
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -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 =