imma try something entirely different
This commit is contained in:
parent
3445294f54
commit
829ecc17f0
6 changed files with 85 additions and 79 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
tor-browser
|
||||
firefox-esr
|
||||
];
|
||||
|
||||
environment.persistence."/nix/config" = {
|
||||
|
@ -10,69 +10,4 @@
|
|||
".config/mozilla"
|
||||
];
|
||||
};
|
||||
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.firefox-esr;
|
||||
policies = {
|
||||
EnableTrackingProtection = {
|
||||
Value = true;
|
||||
Cryptomining = true;
|
||||
Fingerprinting = true;
|
||||
EmailTracking = true;
|
||||
Level = "strict";
|
||||
};
|
||||
DisableTelemetry = true;
|
||||
DisablePocket = true;
|
||||
DisableFirefoxStudies = true;
|
||||
DisableFirefoxAccounts = false;
|
||||
DisableAccounts = false;
|
||||
DontCheckDefaultBrowser = true;
|
||||
OverrideFirstRunPage = "";
|
||||
OverridePostUpdatePage = "";
|
||||
NoDefaultBookmarks = true;
|
||||
Cookies = {
|
||||
Behaviour = "reject-foreign";
|
||||
BehaviourPrivateBrowsing = "reject-foreign";
|
||||
};
|
||||
|
||||
UserMessaging = {
|
||||
WhatsNew = false;
|
||||
ExtensionRecommendations = false;
|
||||
FeatureRecommendations = false;
|
||||
UrlbarInterventions = false;
|
||||
SkipOnboarding = true;
|
||||
MoreFromMozilla = false;
|
||||
};
|
||||
|
||||
FirefoxHome = {
|
||||
Search = true;
|
||||
TopSites = true;
|
||||
SponsoredTopSites = false;
|
||||
Highlights = false;
|
||||
Pocket = false;
|
||||
SponsoredPocket = false;
|
||||
Snippets = false;
|
||||
Locked = true;
|
||||
};
|
||||
|
||||
SearchSuggestEnabled = false;
|
||||
ShowSearchSuggestionsFirst = false;
|
||||
NewTabPage = false;
|
||||
|
||||
SearchEngines = { # ESR only
|
||||
Add = [
|
||||
{
|
||||
Name = "Kagi";
|
||||
URLTemplate = "https://kagi.com/search?q={searchTerms}";
|
||||
Method = "GET";
|
||||
IconURL = "https://kagi.com/favicon.ico";
|
||||
Alias = "@k";
|
||||
Default = true;
|
||||
}
|
||||
];
|
||||
Remove = [ "Bing" "Google" "DuckDuckGo" "Wikipedia (en)" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue