1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 00:18:30 +02:00

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 =