home/mimeapps: Force overwrite of mimeapps.list

This commit is contained in:
Simon Bruder 2021-01-05 23:32:29 +01:00
parent 55668b4d69
commit 826e196891
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ config, lib, ... }:
{
xdg.mimeApps = {
@ -9,4 +9,9 @@
"image/jpeg" = "mpv.desktop";
};
};
# Some programs overwrite the mimeapps.list symlink with a normal file which
# makes home-manager activation fail
xdg.configFile = lib.mkIf config.sbruder.gui.enable {
"mimeapps.list".force = true;
};
}