nixos/system/chromium.nix

30 lines
964 B
Nix
Raw Normal View History

{ pkgs, ... }: {
environment.systemPackages = [ pkgs.chromium ];
programs.chromium = rec {
enable = true;
defaultSearchProviderEnabled = true;
defaultSearchProviderSearchURL = "https://duckduckgo.com/?q={searchTerms}";
defaultSearchProviderSuggestURL = defaultSearchProviderSearchURL;
extensions = [
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
];
extraOpts = {
"BrowserSignin" = 0;
"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;
2023-11-02 08:34:47 +00:00
"HomepageIsNewTabPage" = false;
2023-11-30 08:33:46 +00:00
"RestoreOnStartup" = 5;
};
};
}