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

The former honors the data home path set by the user.
This commit is contained in:
Robert Helgesson 2020-05-09 23:53:48 +02:00
parent 9f396fddc6
commit b886cbea0b
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 =