firefox: configure with module

This commit is contained in:
Artemis Tosini 2024-01-17 05:58:13 +00:00
parent e15439b7db
commit 837ac95f92
Signed by: artemist
SSH key fingerprint: SHA256:EsuWCwx6fjxxExxf65rX+ocQJJAdw4R1KarpFue6Uwc
4 changed files with 40 additions and 4 deletions

View file

@ -8,5 +8,13 @@
};
services.gnome.gnome-keyring.enable = true;
programs.seahorse.enable = true;
programs.firefox.policies.ExtensionSettings = {
"{25fc87fa-4d31-4fee-b5c1-c32a7844c063}" = {
installation_mode = "normal_installed";
install_url =
"https://c.1password.com/dist/1P/b5x/firefox/beta/latest.xpi";
};
};
}

30
sets/firefox.nix Normal file
View file

@ -0,0 +1,30 @@
{ ... }: {
programs.firefox = {
enable = true;
languagePacks = [ "en-US" "de" ];
preferences = {
"app.shield.outputstudies.enabled" = false;
"browser.urlbar.switchTabs.adoptIntoActiveWindow" = true;
"browser.newtabpage.activity-stream.feeds.topsites" = false;
"browser.newtabpage.activity-stream.feeds.section.topstories" = false;
};
policies.SearchEngines.Default = "duckduckgo";
policies.ExtensionSettings = {
"uBlock0@raymondhill.net" = {
installation_mode = "normal_installed";
install_url =
"https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
};
"@testpilot-containers" = {
installation_mode = "normal_installed";
install_url =
"https://addons.mozilla.org/firefox/downloads/latest/multi-account-containers/latest.xpi";
};
"sponsorBlocker@ajay.app" = {
installation_mode = "normal_installed";
install_url =
"https://addons.mozilla.org/firefox/downloads/latest/sponsorblock/latest.xpi";
};
};
};
}

View file

@ -101,9 +101,6 @@
qalculate-gtk
libqalculate
# Web
firefox
# Gnome configuration
gnome3.adwaita-icon-theme
gsettings-desktop-schemas

View file

@ -5,12 +5,13 @@
../home
./1password.nix
./base.nix
./firefox.nix
./nix-index.nix
./nixvim.nix
./packages.nix
./pipewire.nix
./swap.nix
./sway.nix
./nixvim.nix
inputs.private.nixosModules.taskwarrior
];