{ lib, pkgs, ... }: { environment.systemPackages = with pkgs; [ chromium ]; programs.chromium = rec { enable = true; defaultSearchProviderEnabled = true; defaultSearchProviderSearchURL = "https://duckduckgo.com/?q={searchTerms}"; defaultSearchProviderSuggestURL = defaultSearchProviderSearchURL; homepageLocation = lib.mkDefault "https://nixos.org"; extensions = [ "cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin "gcbommkclmclpchllfjekcdonpmejbdp" # https everywhere ]; 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" = true; "ShowHomeButton" = true; "HomepageIsNewTabPage" = false; }; }; }