firefox: configure with module
This commit is contained in:
parent
e15439b7db
commit
837ac95f92
|
@ -8,5 +8,13 @@
|
||||||
};
|
};
|
||||||
services.gnome.gnome-keyring.enable = true;
|
services.gnome.gnome-keyring.enable = true;
|
||||||
programs.seahorse.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
30
sets/firefox.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -101,9 +101,6 @@
|
||||||
qalculate-gtk
|
qalculate-gtk
|
||||||
libqalculate
|
libqalculate
|
||||||
|
|
||||||
# Web
|
|
||||||
firefox
|
|
||||||
|
|
||||||
# Gnome configuration
|
# Gnome configuration
|
||||||
gnome3.adwaita-icon-theme
|
gnome3.adwaita-icon-theme
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
|
|
|
@ -5,12 +5,13 @@
|
||||||
../home
|
../home
|
||||||
./1password.nix
|
./1password.nix
|
||||||
./base.nix
|
./base.nix
|
||||||
|
./firefox.nix
|
||||||
./nix-index.nix
|
./nix-index.nix
|
||||||
|
./nixvim.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
./pipewire.nix
|
./pipewire.nix
|
||||||
./swap.nix
|
./swap.nix
|
||||||
./sway.nix
|
./sway.nix
|
||||||
./nixvim.nix
|
|
||||||
inputs.private.nixosModules.taskwarrior
|
inputs.private.nixosModules.taskwarrior
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue