add some chromium policies

This commit is contained in:
Yuka 2021-10-22 21:56:03 +02:00
parent e72d22c5bc
commit 7549ce0707
Signed by: Yuka
GPG key ID: B95AE06334AFF6BA

View file

@ -22,4 +22,32 @@
desktopManager.mate.enable = true;
};
programs.chromium = {
enable = true;
extensions = [
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
];
extraOpts = {
DefaultSearchProviderEnabled = true;
DefaultSearchProviderName = "DuckDuckGo";
DefaultSearchProviderIconURL = "https://duckduckgo.com/favicon.ico";
DefaultSearchProviderSearchURL = "https://duckduckgo.com/?q={searchTerms}";
DefaultSearchProviderSuggestURL = "https://duckduckgo.com/ac/?q={searchTerms}&type=list";
DefaultBrowserSettingEnabled = false;
BlockThirdPartyCookies = true;
BrowserSignin = 0;
SyncDisabled = true;
PasswordManagerEnabled = false;
# Send less data to Google
SafeBrowsingProtectionLevel = 0;
UrlKeyedAnonymizedDataCollectionEnabled = false;
SafeBrowsingExtendedReportingEnabled = false;
SpellCheckServiceEnabled = false;
AdvancedProtectionAllowed = false;
};
};
}