2024-04-03 11:02:26 +01:00
|
|
|
{pkgs, ...}: {
|
|
|
|
environment.systemPackages = [pkgs.chromium];
|
2024-04-03 15:44:59 +01:00
|
|
|
programs.chromium = rec {
|
2023-11-02 07:48:04 +00:00
|
|
|
enable = true;
|
|
|
|
defaultSearchProviderEnabled = true;
|
2024-04-03 15:44:59 +01:00
|
|
|
defaultSearchProviderSearchURL = "https://duckduckgo.com/?q={searchTerms}";
|
|
|
|
defaultSearchProviderSuggestURL = defaultSearchProviderSearchURL;
|
2024-04-03 11:02:26 +01:00
|
|
|
extensions = [
|
|
|
|
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
|
|
|
|
"dphilobhebphkdjbpfohgikllaljmgbn" # simplelogin
|
|
|
|
];
|
2023-11-02 07:48:04 +00:00
|
|
|
extraOpts = {
|
2024-04-03 11:02:26 +01:00
|
|
|
"AllowDinosaurEasterEgg" = true;
|
|
|
|
"AllowSystemNotifications" = true;
|
|
|
|
"AutoFillEnabled" = false;
|
2024-04-03 17:01:04 +01:00
|
|
|
"BookmarkBarEnabled" = false;
|
2024-04-03 11:02:26 +01:00
|
|
|
"BrowserLabsEnabled" = false;
|
2023-11-02 07:48:04 +00:00
|
|
|
"BrowserSignin" = 0;
|
2024-01-30 08:04:37 +00:00
|
|
|
"ClearBrowsingDataOnExitList" = [
|
|
|
|
"browsing_history"
|
|
|
|
"download_history"
|
|
|
|
"cached_images_and_files"
|
|
|
|
"password_signin"
|
|
|
|
"autofill"
|
|
|
|
];
|
2023-11-24 08:44:12 +00:00
|
|
|
"DefaultBrowserSettingEnabled" = false;
|
2023-11-02 07:48:04 +00:00
|
|
|
"DeviceAutoUpdateDisabled" = true;
|
2024-04-03 11:02:26 +01:00
|
|
|
"HomepageIsNewTabPage" = false;
|
2023-11-02 07:48:04 +00:00
|
|
|
"PasswordManagerEnabled" = false;
|
2024-04-03 11:02:26 +01:00
|
|
|
"RestoreOnStartup" = 5;
|
|
|
|
"ShoppingListEnabled" = false;
|
|
|
|
"ShowHomeButton" = false;
|
2023-11-02 07:48:04 +00:00
|
|
|
"SpellcheckEnabled" = true;
|
2024-01-30 14:21:50 +00:00
|
|
|
"SpellcheckLanguage" = ["en-GB"];
|
2024-04-03 11:02:26 +01:00
|
|
|
"SpellCheckServiceEnabled" = false;
|
|
|
|
"SyncDisabled" = true;
|
2023-11-02 07:48:04 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|