feat(firefox): add language packs
This commit is contained in:
parent
a9b1e35981
commit
cd029a098c
2 changed files with 14 additions and 10 deletions
|
@ -9,18 +9,13 @@ lib.mkIf osConfig.programs.firefox.enable {
|
|||
programs.firefox = {
|
||||
enable = true;
|
||||
# Installed by nixpkgs module
|
||||
package = null;
|
||||
languagePacks = [
|
||||
"de"
|
||||
"en-GB"
|
||||
"fr"
|
||||
];
|
||||
package = osConfig.programs.firefox.package;
|
||||
profiles.${config.home.username} = {
|
||||
name = config.home.username;
|
||||
isDefault = true;
|
||||
userContent = # css
|
||||
''
|
||||
// Sidebery
|
||||
/* Sidebery */
|
||||
@-moz-document url("moz-extension://d1d9847c-2bad-429f-9366-56db49b8c3d6/sidebar/sidebar.html")
|
||||
{
|
||||
#root {
|
||||
|
|
|
@ -10,7 +10,12 @@
|
|||
}:
|
||||
lib.mkIf config.programs.firefox.enable {
|
||||
programs.firefox = {
|
||||
package = pkgs.firefox-bin;
|
||||
package = pkgs.firefox-beta-bin;
|
||||
languagePacks = [
|
||||
"de"
|
||||
"en-GB"
|
||||
"fr"
|
||||
];
|
||||
preferencesStatus = "locked";
|
||||
preferences = {
|
||||
"browser.bookmarks.restore_default_bookmarks" = false;
|
||||
|
@ -44,12 +49,16 @@ lib.mkIf config.programs.firefox.enable {
|
|||
"extensions.getAddons.showPane" = false; # Hides the recommendations tab at about:addons
|
||||
|
||||
"dom.security.https_only_mode" = true;
|
||||
"cookiebanners.service.mode" = 2;
|
||||
|
||||
"cookiebanners.service.mode" = 1;
|
||||
"cookiebanners.bannerClicking.enabled" = true;
|
||||
"cookiebanners.cookieInjector.enabled" = true;
|
||||
"cookiebanners.service.mode.privateBrowsing" = 2;
|
||||
"cookiebanners.ui.desktop.enabled" = true;
|
||||
|
||||
"browser.shell.checkDefaultBrowser" = false;
|
||||
#"privacy.clearOnShutdown.offlineApps" = true;
|
||||
"layout.spellcheckDefault" = true;
|
||||
"layout.spellcheckDefault" = 1;
|
||||
"browser.startup.page" = 3; # Restore session
|
||||
"browser.search.suggest.enabled" = false;
|
||||
"browser.discovery.enabled" = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue