From 6a229b7c89a7dac946d340c1fa705eca89eaef4c Mon Sep 17 00:00:00 2001 From: tzlil Date: Fri, 4 Aug 2023 01:39:46 +0300 Subject: ExtensionSettings with installation_mode blocked removes all uneccesary crap --- hosts/navi/default.nix | 2 +- mixins/firefox/default.nix | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/hosts/navi/default.nix b/hosts/navi/default.nix index 9587a42..7def17a 100644 --- a/hosts/navi/default.nix +++ b/hosts/navi/default.nix @@ -23,7 +23,7 @@ tmp.cleanOnBoot = true; initrd = { supportedFilesystems = ["btrfs"]; - availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "usbhid" "snd_usb_audio" ]; + availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "usbhid" "snd_usb_audio"]; }; supportedFilesystems = ["ntfs"]; kernelModules = ["kvm-intel" "snd-seq" "snd-rawmidi" "bridge" "hid_logitech_dj" "hid_logitech_hidpp"]; diff --git a/mixins/firefox/default.nix b/mixins/firefox/default.nix index 49f0fee..3dcea4d 100644 --- a/mixins/firefox/default.nix +++ b/mixins/firefox/default.nix @@ -205,6 +205,12 @@ in OverrideFirstRunPage = ""; Extensions.Install = map (x: x.src.outPath) config.home-manager.users.tzlil.programs.firefox.profiles."default".extensions; SearchEngines.Default = "DuckDuckGo"; + ExtensionSettings = { + "google@search.mozilla.org" = {installation_mode = "blocked";}; + "amazondotcom@search.mozilla.org" = {installation_mode = "blocked";}; + "wikipedia@search.mozilla.org" = {installation_mode = "blocked";}; + "bing@search.mozilla.org" = {installation_mode = "blocked";}; + }; }; }; profiles.default = { -- cgit 1.4.1