tasko(librewolf): antaŭ-agordi defaŭltojn

Forto-instali bezonatajn etendaĵojn kaj antaŭ-agordi deziratajn opciojn.
This commit is contained in:
Serĉanto de Scio 2025-03-06 10:34:07 +10:00
parent 38d3772d46
commit 1a3c9eae2e
Signed by: sercanto
GPG key ID: A4122FF3971B6865
2 changed files with 56 additions and 2 deletions

View file

@ -21,11 +21,9 @@ in {
chromium
element-desktop # A feature-rich client for Matrix.org
evince # document viewer
firefox # A web browser built from Firefox source tree
gnome-tweaks # A tool to customize advanced GNOME 3 options
krita # A free and open source painting application
libreoffice-fresh # Comprehensive, professional-quality productivity suite
librewolf # Firefox fork, focused on privacy, security and freedom
mplayer # A movie player that supports many video formats
nextcloud-client # Nextcloud desktop client
pavucontrol # PulseAudio Volume Control
@ -104,6 +102,56 @@ in {
enable = true;
homepageLocation = "https://start.duckduckgo.com/";
};
firefox = {
enable = true;
package = pkgs.librewolf;
policies = {
DisableTelemetry = true;
DisableFirefoxStudies = true;
Preferences = {
"cookiebanners.service.mode" = 2; # Block cookie banners
"cookiebanners.service.mode.privateBrowsing" = 2; # Block cookie banners in private browsing
"privacy.donottrackheader.enabled" = true;
"privacy.fingerprintingProtection" = true;
"privacy.resistFingerprinting" = true;
"privacy.trackingprotection.emailtracking.enabled" = true;
"privacy.trackingprotection.enabled" = true;
"privacy.trackingprotection.fingerprinting.enabled" = true;
"privacy.trackingprotection.socialtracking.enabled" = true;
"webgl.disabled" = false;
};
ExtensionSettings = {
"CanvasBlocker@kkapsner.de" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/canvasblocker/latest.xpi";
installation_mode = "force_installed";
}; # prevents fingerprinting when webgl is enabled
"CookieAutoDelete@kennydo.com" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/cookie-autodelete/latest.xpi";
installation_mode = "force_installed";
}; # cookie deletion
"floccus@handmadeideas.org" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/floccus/latest.xpi";
installation_mode = "force_installed";
}; # bookmark sync
"jid1-MnnxcxisBPnSXQ@jetpack" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/privacy-badger17/latest.xpi";
installation_mode = "force_installed";
}; # privacy
"jid1-ZAdIEUB7XOzOJw@jetpack" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/duckduckgo-for-firefox/latest.xpi";
installation_mode = "force_installed";
}; # private search
"uBlock0@raymondhill.net" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
installation_mode = "force_installed";
}; # add blocking
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
installation_mode = "force_installed";
}; # password management
};
};
};
};
# Groups to add

View file

@ -35,5 +35,11 @@ in {
vcsh # Version Control System for $HOME
yt-dlp # Command-line tool to download videos
];
programs.firefox.policies.ExtensionSettings = {
"{eceab40b-230a-4560-98ed-185ad010633f}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/nixos-packages-search-engine/latest.xpi";
installation_mode = "force_installed";
}; # package search
};
};
}