home/mimeapps: Force overwrite of mimeapps.list

pull/30/head
Simon Bruder 2021-01-05 23:32:29 +01:00
parent 55668b4d69
commit 826e196891
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 6 additions and 1 deletions

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;
};
}