Disable firefox password manager
This commit is contained in:
parent
6650f71028
commit
6ea5de0e56
|
@ -1,7 +1,7 @@
|
||||||
{ config, lib, pkgs, inputs, ... }:
|
{ config, lib, pkgs, inputs, ... }:
|
||||||
let
|
let
|
||||||
# {{{ Global extensions
|
# {{{ Global extensions
|
||||||
extensions = with inputs.firefox-addons.packages.${pkgs.system}; ([
|
extensions = with inputs.firefox-addons.packages.${pkgs.system}; [
|
||||||
buster-captcha-solver
|
buster-captcha-solver
|
||||||
# REASON: returns 404 for now
|
# REASON: returns 404 for now
|
||||||
# bypass-paywalls-clean
|
# bypass-paywalls-clean
|
||||||
|
@ -21,16 +21,32 @@ let
|
||||||
ublock-origin
|
ublock-origin
|
||||||
unpaywall
|
unpaywall
|
||||||
user-agent-string-switcher
|
user-agent-string-switcher
|
||||||
] ++
|
];
|
||||||
# Password store support
|
|
||||||
lib.lists.optional config.programs.password-store.enable passff
|
|
||||||
);
|
|
||||||
# }}}
|
# }}}
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
policies = {
|
||||||
|
DisableAppUpdate = true;
|
||||||
|
DisableBuiltinPDFViewer = true;
|
||||||
|
DisableFirefoxAccounts = true;
|
||||||
|
DisableFirefoxStudies = true;
|
||||||
|
DisablePocket = true;
|
||||||
|
DisableTelemetry = true;
|
||||||
|
DisplayBookmarksToolbar = "never";
|
||||||
|
DontCheckDefaultBrowser = true;
|
||||||
|
EnableTrackingProtection = {
|
||||||
|
Value = true;
|
||||||
|
Locked = true;
|
||||||
|
Cryptomining = true;
|
||||||
|
Fingerprinting = true;
|
||||||
|
};
|
||||||
|
OfferToSaveLogins = false;
|
||||||
|
PasswordManagerEnabled = false;
|
||||||
|
};
|
||||||
|
|
||||||
profiles.adrielus = {
|
profiles.adrielus = {
|
||||||
# {{{ High level user settings
|
# {{{ High level user settings
|
||||||
# Unique user id
|
# Unique user id
|
||||||
|
@ -41,9 +57,7 @@ in
|
||||||
|
|
||||||
# Forcefully replace the search configuration
|
# Forcefully replace the search configuration
|
||||||
search.force = true;
|
search.force = true;
|
||||||
|
search.default = "Moonythm";
|
||||||
# Set default search engine
|
|
||||||
search.default = "Google";
|
|
||||||
|
|
||||||
# Set styles applied to every website
|
# Set styles applied to every website
|
||||||
userContent = builtins.readFile ./userContent.css;
|
userContent = builtins.readFile ./userContent.css;
|
||||||
|
@ -56,6 +70,7 @@ in
|
||||||
# List of profile-specific extensions
|
# List of profile-specific extensions
|
||||||
[
|
[
|
||||||
augmented-steam # Adds more info to steam
|
augmented-steam # Adds more info to steam
|
||||||
|
bitwarden # Password manager
|
||||||
blocktube # Lets you block youtube channels
|
blocktube # Lets you block youtube channels
|
||||||
dearrow # Crowdsourced clickbait remover 💀
|
dearrow # Crowdsourced clickbait remover 💀
|
||||||
lovely-forks # displays forks on github
|
lovely-forks # displays forks on github
|
||||||
|
@ -176,6 +191,12 @@ in
|
||||||
aliases = [ "@fm" "@factorio-mods" ];
|
aliases = [ "@fm" "@factorio-mods" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"Moonythm" = mkBasicSearchEngine {
|
||||||
|
url = "https://search.moonythm.dev/search";
|
||||||
|
param = "q";
|
||||||
|
aliases = [ "@m" "@moonythm" ];
|
||||||
|
};
|
||||||
|
|
||||||
"Google".metaData.alias = "@g";
|
"Google".metaData.alias = "@g";
|
||||||
};
|
};
|
||||||
# }}}
|
# }}}
|
||||||
|
@ -235,9 +256,6 @@ in
|
||||||
# with tiling WMs on wayland
|
# with tiling WMs on wayland
|
||||||
"privacy.webrtc.legacyGlobalIndicator" = false;
|
"privacy.webrtc.legacyGlobalIndicator" = false;
|
||||||
|
|
||||||
# Disable auto update checks
|
|
||||||
"app.update.auto" = false;
|
|
||||||
|
|
||||||
# Do not include "switch to [tab]" in search results
|
# Do not include "switch to [tab]" in search results
|
||||||
"browser.urlbar.suggest.openpage" = false;
|
"browser.urlbar.suggest.openpage" = false;
|
||||||
|
|
||||||
|
@ -253,12 +271,6 @@ in
|
||||||
|
|
||||||
# Do not recommend addons
|
# Do not recommend addons
|
||||||
"extensions.htmlaboutaddons.recommendations.enabled" = false;
|
"extensions.htmlaboutaddons.recommendations.enabled" = false;
|
||||||
|
|
||||||
# Link saving thingy (?)
|
|
||||||
"extensions.pocket.enabled" = false;
|
|
||||||
|
|
||||||
# Disable firefox accounts (?)
|
|
||||||
"identity.fxaccounts.enabled" = false;
|
|
||||||
};
|
};
|
||||||
# }}}
|
# }}}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue