home/mimeapps: Force overwrite of mimeapps.list
This commit is contained in:
parent
55668b4d69
commit
826e196891
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
xdg.mimeApps = {
|
xdg.mimeApps = {
|
||||||
|
@ -9,4 +9,9 @@
|
||||||
"image/jpeg" = "mpv.desktop";
|
"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;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue