fixes and extensions
This commit is contained in:
@@ -7,6 +7,21 @@
|
||||
policies = {
|
||||
BlockAboutConfig = true;
|
||||
DefaultDownloadDirectory = "\${home}/Downloads";
|
||||
ExtensionSettings = with builtins;
|
||||
let extension = shortId: uuid: {
|
||||
name = uuid;
|
||||
value = {
|
||||
install_url = "https://addons.mozilla.org/en-US/firefox/downloads/latest/${shortId}/latest.xpi";
|
||||
installation_mode = "normal_installed";
|
||||
};
|
||||
};
|
||||
in listToAttrs [
|
||||
(extension "ublock-origin" "uBlock0@raymondhill.net")
|
||||
(extension "tabliss" "extension@tabliss.io")
|
||||
(extension "clearurls" "{74145f27-f039-47ce-a470-a662b129930a}")
|
||||
(extension "keepassxc-browser" "keepassxc-browser@keepassxc.org")
|
||||
(extension "ghostery" "firefox@ghostery.com")
|
||||
];
|
||||
};
|
||||
|
||||
## Per-profile preferences
|
||||
@@ -41,14 +56,25 @@
|
||||
# Harden
|
||||
"privacy.trackingprotection.enabled" = true;
|
||||
"dom.security.https_only_mode" = true;
|
||||
};
|
||||
|
||||
# # Extensions
|
||||
# extensions = with pkgs.inputs.firefox-addons; [
|
||||
# ublock-origin
|
||||
# keepassxc-browser
|
||||
# ghostery
|
||||
# ];
|
||||
# Disable Pocket
|
||||
"extensions.pocket.enabled" = false;
|
||||
|
||||
# Disable telemetry
|
||||
"toolkit.telemetry.enabled" = false;
|
||||
|
||||
# Remove bookmarks toolbar
|
||||
"browser.toolbars.bookmarks.visibility" = "never";
|
||||
|
||||
# Restore session on startup
|
||||
"browser.startup.page" = 3;
|
||||
|
||||
# Automatically enable extensions
|
||||
"extensions.autoDisableScopes" = 0;
|
||||
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user