Allow overriding mimeapps.list, fuck that file

This commit is contained in:
Leonardo Eugênio 2022-12-06 20:18:02 -03:00
parent 767b8289ee
commit 6198d77dc8

View file

@ -49,6 +49,9 @@ in {
settings = { Keywords = "Mail;E-mail;"; }; settings = { Keywords = "Mail;E-mail;"; };
}; };
}; };
# workaround to allow overriding mimeapps file
# btw, whatever it was that decided that damn file should always be written is an asshole
xdg.configFile."mimeapps.list".force = true;
xdg.mimeApps = let xdg.mimeApps = let
createMimeAssociation = (mime_prefix: application: mime_suffix: { createMimeAssociation = (mime_prefix: application: mime_suffix: {