diff options
author | tzlil <tzlils@protonmail.com> | 2023-08-04 01:39:46 +0300 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2023-08-04 01:39:46 +0300 |
commit | 6a229b7c89a7dac946d340c1fa705eca89eaef4c (patch) | |
tree | 6f303af5258d1c8f3b20d79e4c313537ff789bce | |
parent | bb4d5063da0e38651a7762a0150bbd54248cfdc9 (diff) |
ExtensionSettings with installation_mode blocked removes all uneccesary crap
-rw-r--r-- | hosts/navi/default.nix | 2 | ||||
-rw-r--r-- | mixins/firefox/default.nix | 6 |
2 files changed, 7 insertions, 1 deletions
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 = { |