add mkForce to overwrite pesky mimeapps that keeps blocking hm

This commit is contained in:
cnst
2024-12-12 17:57:25 +01:00
parent 8dbe15c923
commit 5842dfcdb6
2 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
osConfig,
...
}: let
inherit (lib) mkIf mkEnableOption elem;
inherit (lib) mkIf mkEnableOption mkForce elem;
browser =
if elem osConfig.networking.hostName ["cnix" "cnixpad" "toothpc"]
then "zen.desktop"
@@ -30,7 +30,7 @@ in {
};
mimeApps = {
enable = true;
defaultApplications = {
defaultApplications = mkForce {
"text/html" = browser;
"text/xml" = browser;
"x-scheme-handler/http" = browser;