The Great Modularization
This commit is contained in:
parent
e0b7d60a8d
commit
eb279f1f65
34 changed files with 1356 additions and 1286 deletions
74
modules/home/librewolf.nix
Normal file
74
modules/home/librewolf.nix
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.librewolf = {
|
||||
enable = true;
|
||||
nativeMessagingHosts = [ pkgs.kdePackages.plasma-browser-integration ];
|
||||
settings = {
|
||||
"identity.fxaccounts.enabled" = true;
|
||||
"clipboard.autocopy" = false;
|
||||
};
|
||||
policies = {
|
||||
DefaultDownloadDirectory = "/home/wo2w/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 "bitwarden-password-manager" "{446900e4-71c2-419f-a6a7-df9c091e268b}")
|
||||
(extension "clearurls" "{74145f27-f039-47ce-a470-a662b129930a}")
|
||||
(extension "darkreader" "addon@darkreader.org")
|
||||
(extension "decentraleyes" "jid1-BoFifL9Vbdl2zQ@jetpack")
|
||||
(extension "happy-bonobo-disable-webrtc" "jid1-5Fs7iTLscUaZBgwr@jetpack")
|
||||
(extension "enhancer-for-youtube" "enhancerforyoutube@maximerf.addons.mozilla.org")
|
||||
(extension "private-relay" "private-relay@firefox.com")
|
||||
(extension "indie-wiki-buddy" "{cb31ec5d-c49a-4e5a-b240-16c767444f62}")
|
||||
(extension "libredirect" "7esoorv3@alefvanoon.anonaddy.me")
|
||||
(extension "plasma-integration" "plasma-browser-integration@kde.org")
|
||||
(extension "privacy-badger17" "jid1-MnnxcxisBPnSXQ@jetpack")
|
||||
(extension "return-youtube-dislikes" "{762f9885-5a13-4abd-9c77-433dcd38b8fd}")
|
||||
(extension "ublock-origin" "uBlock0@raymondhill.net")
|
||||
];
|
||||
};
|
||||
profiles.wo2w = {
|
||||
search = {
|
||||
force = true;
|
||||
default = "ddg";
|
||||
privateDefault = "ddg";
|
||||
};
|
||||
settings = {
|
||||
"browser.urlbar.suggest.history" = false;
|
||||
"browser.urlbar.suggest.bookmark" = false;
|
||||
"browser.urlbar.suggest.openpage" = false;
|
||||
"browser.urlbar.suggest.topsites" = false;
|
||||
"browser.urlbar.suggest.recentsearches" = false;
|
||||
"browser.startup.page" = 3;
|
||||
|
||||
"network.trr.mode" = 2;
|
||||
"network.trr.uri" = "https://base.dns.mullvad.net/dns-query";
|
||||
"network.trr.custom_uri" = "https://base.dns.mullvad.net/dns-query";
|
||||
|
||||
"privacy.clearHistory.formdata" = true;
|
||||
"privacy.clearHistory.siteSettings" = false;
|
||||
"privacy.clearOnShutdown.cache" = false;
|
||||
"privacy.clearOnShutdown.cookies" = false;
|
||||
"privacy.clearOnShutdown.sessions" = false;
|
||||
"privacy.donottrackheader.enabled" = true;
|
||||
|
||||
"widget.use-xdg-desktop-portal.file-picker" = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# symlink for plasma browser integration native messaging in librewolf
|
||||
home.file.".librewolf/native-messaging-hosts" = {
|
||||
enable = true;
|
||||
source = "${pkgs.kdePackages.plasma-browser-integration}/lib/mozilla/native-messaging-hosts";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue