40 lines
1.2 KiB
Nix
40 lines
1.2 KiB
Nix
{pkgs, ...}: {
|
|
environment.systemPackages = [pkgs.chromium];
|
|
programs.chromium = {
|
|
enable = true;
|
|
defaultSearchProviderEnabled = true;
|
|
defaultSearchProviderSearchURL = "https://search.atlas.engineer/searxng/search?q={searchTerms}";
|
|
defaultSearchProviderSuggestURL = "https://duckduckgo.com/?q={searchTerms}";
|
|
extensions = [
|
|
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
|
|
];
|
|
extraOpts = {
|
|
"BrowserSignin" = 0;
|
|
"ClearBrowsingDataOnExitList" = [
|
|
"browsing_history"
|
|
"download_history"
|
|
"cookies_and_other_site_data"
|
|
"cached_images_and_files"
|
|
"password_signin"
|
|
"autofill"
|
|
# "site_settings"
|
|
# "hosted_app_data"
|
|
];
|
|
"DefaultBrowserSettingEnabled" = false;
|
|
"DeviceAutoUpdateDisabled" = true;
|
|
"SyncDisabled" = true;
|
|
"PasswordManagerEnabled" = false;
|
|
"SpellcheckEnabled" = true;
|
|
"SpellcheckLanguage" = ["en-GB"];
|
|
"AllowDinosaurEasterEgg" = true;
|
|
"AllowSystemNotifications" = true;
|
|
"AutoFillEnabled" = false;
|
|
"BrowserLabsEnabled" = false;
|
|
"BookmarkBarEnabled" = false;
|
|
"ShowHomeButton" = false;
|
|
"HomepageIsNewTabPage" = false;
|
|
"RestoreOnStartup" = 5;
|
|
};
|
|
};
|
|
}
|