feat(browsers): update firefox configurations
- update Mullvad Browser config - update Firefox / Arkenfox config
This commit is contained in:
parent
386b3f6616
commit
4cee402863
|
@ -4,7 +4,7 @@
|
||||||
imports = [ ./firmware.nix ./planck.nix ];
|
imports = [ ./firmware.nix ./planck.nix ];
|
||||||
|
|
||||||
boot.supportedFilesystems = lib.mkDefault [ "btrfs" ];
|
boot.supportedFilesystems = lib.mkDefault [ "btrfs" ];
|
||||||
boot.kernelPackages = lib.mkOverride 0 pkgs.linuxPackages_latest;
|
boot.kernelPackages = lib.mkOverride 800 pkgs.linuxPackages_latest;
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,7 @@ let
|
||||||
inherit (import ../modules/firefox/common.nix { inherit config lib pkgs; })
|
inherit (import ../modules/firefox/common.nix { inherit config lib pkgs; })
|
||||||
mkConfig;
|
mkConfig;
|
||||||
|
|
||||||
arkenfoxConfig =
|
arkenfoxConfig = builtins.readFile pkgs.nur.repos.slaier.arkenfox-userjs;
|
||||||
builtins.readFile "${pkgs.nur.repos.slaier.arkenfox-userjs}/user.js";
|
|
||||||
|
|
||||||
# Relax some arkenfox settings, to get a less strict
|
# Relax some arkenfox settings, to get a less strict
|
||||||
# alternative to Mullvad Browser to fallback on.
|
# alternative to Mullvad Browser to fallback on.
|
||||||
|
@ -25,6 +24,12 @@ let
|
||||||
|
|
||||||
# Disable Pocket
|
# Disable Pocket
|
||||||
"extensions.pocket.enabled" = false;
|
"extensions.pocket.enabled" = false;
|
||||||
|
|
||||||
|
# Enable search in location bar
|
||||||
|
"keyword.enabled" = false;
|
||||||
|
|
||||||
|
# Enable IPv6 again
|
||||||
|
"network.dns.disableIPv6" = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
# use extraConfig to load arkenfox user.js before settings
|
# use extraConfig to load arkenfox user.js before settings
|
||||||
|
@ -35,12 +40,10 @@ let
|
||||||
'';
|
'';
|
||||||
|
|
||||||
commonExtensions = with firefox-addons; [
|
commonExtensions = with firefox-addons; [
|
||||||
|
german-dictionary
|
||||||
ublock-origin
|
ublock-origin
|
||||||
bitwarden
|
bitwarden
|
||||||
vimium
|
|
||||||
languagetool
|
|
||||||
libredirect
|
libredirect
|
||||||
to-deepl
|
|
||||||
zotero-connector
|
zotero-connector
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
|
|
|
@ -2,13 +2,27 @@
|
||||||
|
|
||||||
let inherit (pkgs.nur.repos.rycee) firefox-addons;
|
let inherit (pkgs.nur.repos.rycee) firefox-addons;
|
||||||
in {
|
in {
|
||||||
|
german-dictionary = firefox-addons.buildFirefoxXpiAddon rec {
|
||||||
|
pname = "german-dictionary";
|
||||||
|
version = "2.1";
|
||||||
|
addonId = "de-DE@dictionaries.addons.mozilla.org";
|
||||||
|
url =
|
||||||
|
"https://addons.mozilla.org/firefox/downloads/file/1163876/german_dictionary-${version}.xpi?src=";
|
||||||
|
sha256 = "sha256-p+/vXp/fD2RgrDiVHByjdmJY2CZHrUi9h5Vb1QCc6eA=";
|
||||||
|
meta = with lib; {
|
||||||
|
description =
|
||||||
|
"German Dictionary (new Orthography) for spellchecking in Mozilla products";
|
||||||
|
license = licenses.lgpl21;
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
};
|
||||||
zotero-connector = firefox-addons.buildFirefoxXpiAddon rec {
|
zotero-connector = firefox-addons.buildFirefoxXpiAddon rec {
|
||||||
pname = "zotero-connector";
|
pname = "zotero-connector";
|
||||||
version = "5.0.107";
|
version = "5.0.108";
|
||||||
addonId = "zotero@chnm.gmu.edu";
|
addonId = "zotero@chnm.gmu.edu";
|
||||||
url =
|
url =
|
||||||
"https://download.zotero.org/connector/firefox/release/Zotero_Connector-${version}.xpi";
|
"https://download.zotero.org/connector/firefox/release/Zotero_Connector-${version}.xpi";
|
||||||
sha256 = "sha256-RuAhWGvUhkog8SxzKhRwQQwzTQLzBKlHjSsFj9e25e4=";
|
sha256 = "sha256-Ic34T9++qZpbx8rRAhaRZfiwNClQo6iRS2RmS95v55c=";
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.zotero.org";
|
homepage = "https://www.zotero.org";
|
||||||
description = "Save references to Zotero from your web browser";
|
description = "Save references to Zotero from your web browser";
|
||||||
|
@ -16,4 +30,18 @@ in {
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
ddg-bangs-but-faster = firefox-addons.buildFirefoxXpiAddon rec {
|
||||||
|
pname = "ddg-bangs-but-faster";
|
||||||
|
version = "0.2.2";
|
||||||
|
addonId = "{55bf0dfc-ebd5-4705-a68d-61c6ac6ecad0}";
|
||||||
|
url =
|
||||||
|
"https://addons.mozilla.org/firefox/downloads/file/3743190/ddg_bangs_but_faster-${version}.xpi";
|
||||||
|
sha256 = "sha256-O8jvzxXH83JKydxUYUpKY/rB2s4BpG8a3gnoYgL4vLA=";
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://bangs-but-faster.inclushe.com/";
|
||||||
|
description = "Processes DuckDuckGo !bangs client-side";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,8 +8,8 @@ let
|
||||||
# Disable DNS over HTTPS (use system DNS, i.e. VPN's DNS)
|
# Disable DNS over HTTPS (use system DNS, i.e. VPN's DNS)
|
||||||
"network.trr.mode" = 5;
|
"network.trr.mode" = 5;
|
||||||
|
|
||||||
# Set Security Level Safest
|
# Set Security Level Safer
|
||||||
# "browser.security_level.security_slider" = 1;
|
# "browser.security_level.security_slider" = 2;
|
||||||
|
|
||||||
# Disable private browsing mode and enable restoring sessions
|
# Disable private browsing mode and enable restoring sessions
|
||||||
"browser.privatebrowsing.autostart" = false;
|
"browser.privatebrowsing.autostart" = false;
|
||||||
|
@ -23,6 +23,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
commonExtensions = with firefox-addons; [
|
commonExtensions = with firefox-addons; [
|
||||||
|
german-dictionary
|
||||||
bitwarden
|
bitwarden
|
||||||
libredirect
|
libredirect
|
||||||
zotero-connector
|
zotero-connector
|
||||||
|
|
Loading…
Reference in a new issue