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