nixos/system/chromium.nix
Evie Litherland-Smith 6e03df701f Re-enable firefox as default browser
Keep chromium installed for PWA support
2023-11-24 08:44:12 +00:00

30 lines
885 B
Nix

{ pkgs, ... }:
{
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;
"HomepageIsNewTabPage" = false;
};
};
}