2023-11-02 07:48:04 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
environment.systemPackages = with pkgs; [ chromium ];
|
|
|
|
programs.chromium = rec {
|
|
|
|
enable = true;
|
|
|
|
defaultSearchProviderEnabled = true;
|
|
|
|
defaultSearchProviderSearchURL = "https://duckduckgo.com/?q={searchTerms}";
|
|
|
|
defaultSearchProviderSuggestURL = defaultSearchProviderSearchURL;
|
2023-11-02 08:30:08 +00:00
|
|
|
homepageLocation = lib.mkDefault "https://nixos.org";
|
2023-11-02 07:48:04 +00:00
|
|
|
extensions = [
|
|
|
|
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
|
|
|
|
"gcbommkclmclpchllfjekcdonpmejbdp" # https everywhere
|
|
|
|
"fnaicdffflnofjppbagibeoednhnbjhg" # floccus bookmark sync
|
|
|
|
];
|
|
|
|
extraOpts = {
|
|
|
|
"BrowserSignin" = 0;
|
|
|
|
"DeviceAutoUpdateDisabled" = true;
|
|
|
|
"SyncDisabled" = true;
|
|
|
|
"PasswordManagerEnabled" = false;
|
|
|
|
"SpellcheckEnabled" = true;
|
|
|
|
"SpellcheckLanguage" = [ "en-GB" ];
|
|
|
|
"AllowDinosaurEasterEgg" = true;
|
|
|
|
"AllowSystemNotifications" = true;
|
|
|
|
"AutoFillEnabled" = false;
|
|
|
|
"BrowserLabsEnabled" = false;
|
2023-11-02 07:50:44 +00:00
|
|
|
"BookmarkBarEnabled" = true;
|
2023-11-02 08:30:08 +00:00
|
|
|
"ShowHomeButton" = true;
|
2023-11-02 08:34:47 +00:00
|
|
|
"HomepageIsNewTabPage" = false;
|
2023-11-02 07:48:04 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|