From 927e0b2e7a2b3dbd82c9dbadacd20b425f69fa8b Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Thu, 23 Oct 2025 23:23:23 +0200 Subject: [PATCH] disable ai features in firefox --- modules/firefox.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/firefox.nix b/modules/firefox.nix index 030f59e..8fc46e5 100644 --- a/modules/firefox.nix +++ b/modules/firefox.nix @@ -171,7 +171,12 @@ in # Language and translation settings "intl.accept_languages" = "en-US,en,zh-CN,zh-TW,zh-HK,zh"; # Accept English and all Chinese variants "browser.translations.automaticallyPopup" = false; # Prevent automatic translation suggestions - + + # Disable AI features + "browser.ml.enable" = false; # Disable all local ML/inference features + "browser.ml.chat.enabled" = false; # Disable AI chatbot + "browser.ml.chat.shortcuts" = false; # Disable "Ask an AI bot" right-click shortcut + # Enable userChrome.css support "toolkit.legacyUserProfileCustomizations.stylesheets" = true; };