mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
xdg-mime-apps: add legacy mimeapps.list
path
Although `.local/share/applications/mimeapps.list` is deprecated, this file is still being read by some applications. To ensure compatibility duplicate the file as recommended in https://wiki.archlinux.org/index.php/XDG_MIME_Applications#mimeapps.list
This commit is contained in:
parent
51581b7e43
commit
3f45630180
1 changed files with 4 additions and 0 deletions
|
@ -75,6 +75,10 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# Deprecated but still used by some applications.
|
||||
home.file.".local/share/applications/mimeapps.list".source =
|
||||
config.xdg.configFile."mimeapps.list".source;
|
||||
|
||||
xdg.configFile."mimeapps.list".text =
|
||||
let
|
||||
joinValues = mapAttrs (n: concatStringsSep ";");
|
||||
|
|
Loading…
Reference in a new issue