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:
parent
22d03f20fb
commit
9fea5ac54f
|
@ -74,7 +74,7 @@ in {
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
# Deprecated but still used by some applications.
|
# 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;
|
config.xdg.configFile."mimeapps.list".source;
|
||||||
|
|
||||||
xdg.configFile."mimeapps.list".text =
|
xdg.configFile."mimeapps.list".text =
|
||||||
|
|
Loading…
Reference in a new issue