nixos/system/chromium.nix

40 lines
1.2 KiB
Nix
Raw Normal View History

2024-01-30 14:21:50 +00:00
{pkgs, ...}: {
environment.systemPackages = [pkgs.ungoogled-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;
2024-01-30 08:04:37 +00:00
"ClearBrowsingDataOnExitList" = [
"browsing_history"
"download_history"
"cookies_and_other_site_data"
"cached_images_and_files"
"password_signin"
"autofill"
# "site_settings"
# "hosted_app_data"
2024-01-30 08:04:37 +00:00
];
"DefaultBrowserSettingEnabled" = false;
"DeviceAutoUpdateDisabled" = true;
"SyncDisabled" = true;
"PasswordManagerEnabled" = false;
"SpellcheckEnabled" = true;
2024-01-30 14:21:50 +00:00
"SpellcheckLanguage" = ["en-GB"];
"AllowDinosaurEasterEgg" = true;
"AllowSystemNotifications" = true;
"AutoFillEnabled" = false;
"BrowserLabsEnabled" = false;
"BookmarkBarEnabled" = false;
"ShowHomeButton" = false;
2023-11-02 08:34:47 +00:00
"HomepageIsNewTabPage" = false;
2023-11-30 08:33:46 +00:00
"RestoreOnStartup" = 5;
};
};
}