mirror of
https://github.com/nix-community/home-manager
synced 2024-12-04 08:59: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:
parent
22d03f20fb
commit
9fea5ac54f
1 changed files with 1 additions and 1 deletions
|
@ -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