ft (wip): firefox+librewolf home manager
This commit is contained in:
1 parent
bf31806ab7
commit
869aa84f53
14 files changed
+1639
-47
No files matched your search
+31
-37
@@ -1,46 +1,40 @@
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.firefox = {
|
||||
home-manager.users.djai.programs.firefox = {
|
||||
enable = true;
|
||||
preferences = {
|
||||
"browser.resistFingerPrinting" = true;
|
||||
"browser.ipProtection.hasSeenFeature" = true;
|
||||
"browser.newtab.extensionController" = true;
|
||||
"browser.startup.homepage" = "moz-extension://cb0256df-d9d4-4624-94a2-b3e2ddc4a3e0/index.html";
|
||||
"browser.bookmarks.visibility" = "never";
|
||||
"browser.translations.popup" = false;
|
||||
"privacy.bounceTrackingProtection.mode" = "1";
|
||||
"privacy.donottrackheader.enabled" = true;
|
||||
"privacy.fingerprintingProtection" = true;
|
||||
"privacy.fingerprintingProtection.overrides" = "+AllTargets,-JSDateTimeUTC";
|
||||
"privacy.trackingprotection.enabled" = true;
|
||||
"reader.color_scheme" = "dark";
|
||||
};
|
||||
|
||||
policies = {
|
||||
DisableTelemetry = true;
|
||||
ExtensionSettings = {
|
||||
"uBlock0@raymondhill.net" = {
|
||||
installation_mode = "force_installed";
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
||||
};
|
||||
|
||||
"vimium@vimium.org" = {
|
||||
installation_mode = "force_installed";
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/vimium/latest.xpi";
|
||||
};
|
||||
|
||||
"addon@darkreader.org" = { # FIXME: does not work
|
||||
installation_mode = "force_installed";
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi";
|
||||
};
|
||||
|
||||
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
|
||||
installation_mode = "force_installed";
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
|
||||
policies.DisableTelemetry = true;
|
||||
profiles = {
|
||||
default = {
|
||||
imports = [ ./extensions ];
|
||||
userChrome = builtins.readFile ./userChrome.css;
|
||||
settings = {
|
||||
browser = {
|
||||
resistFingerPrinting = true;
|
||||
ipProtection.hasSeenFeature = true;
|
||||
newtab.extensionController = true;
|
||||
bookmarks.visibility = "never";
|
||||
translations.popup = false;
|
||||
};
|
||||
privacy = {
|
||||
bounceTrackingProtection.mode = 1;
|
||||
donottrackheader.enabled = true;
|
||||
baselineFingerprintingProtection = true;
|
||||
fingerprintingProtection.overrides = "+AllTargets,-JSDateTimeUTC";
|
||||
trackingprotection.enabled = true;
|
||||
};
|
||||
};
|
||||
bookmarks.settings = [
|
||||
{ name = "Buienalarm Groningen"; url = "https://www.buienalarm.nl/nederland/groningen/10226"; }
|
||||
{ name = "piracy";
|
||||
toolbar = false;
|
||||
bookmarks = [ ]; # TODO: update these
|
||||
}
|
||||
];
|
||||
# TODO: test works
|
||||
extensions.settings."uBlock0@raymondhill.net".settings.hostnameSwitchesString = ""; # override so we don't disable javascript
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||