diff --git a/home/program/firefox/default.nix b/home/program/firefox/default.nix index 59f746d1..3a3a2341 100644 --- a/home/program/firefox/default.nix +++ b/home/program/firefox/default.nix @@ -45,6 +45,10 @@ // Disable built-in DoH. user_pref("doh-rollout.disable-heuristics", true); user_pref("network.trr.mode", 5); + + // HTTPS only mode. + user_pref("dom.security.https_only_mode", true); + user_pref("dom.security.https_only_mode_ever_enabled", true); ''; mkExtension = install_url: {