nixos/system/chromium.nix

117 lines
3.5 KiB
Nix
Raw Normal View History

{pkgs, ...}: {
environment.systemPackages = [pkgs.chromium];
programs.chromium = {
enable = true;
defaultSearchProviderEnabled = true;
defaultSearchProviderSearchURL = "https://search.atlas.engineer/searxng/search?q={searchTerms}";
defaultSearchProviderSuggestURL = "https://duckduckgo.com/?q={searchTerms}";
extensions = [
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
"dphilobhebphkdjbpfohgikllaljmgbn" # simplelogin
"bkkmolkhemgaeaeggcmfbghljjjoofoh" # catppuccin mocha theme
];
extraOpts = {
"AllowDinosaurEasterEgg" = true;
"AllowSystemNotifications" = true;
"AutoFillEnabled" = false;
"BookmarkBarEnabled" = true;
"BrowserLabsEnabled" = false;
"BrowserSignin" = 0;
2024-01-30 08:04:37 +00:00
"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;
2024-01-30 14:21:50 +00:00
"SpellcheckLanguage" = ["en-GB"];
"SpellCheckServiceEnabled" = false;
"SyncDisabled" = true;
# Bookmarks
"ManagedBookmarks" = [
{toplevel_name = "Managed Bookmarks";}
{
name = "Messaging";
children = [
{
name = "WhatsApp Web";
url = "https://web.whatsapp.com/";
}
{
name = "Discord";
url = "https://discord.com/login"; # TODO update to proper webapp URL
}
{
name = "Microsoft Teams";
url = "https://teams.microsoft.com";
}
];
}
{
name = "Server";
children = [
{
name = "Home Page";
url = "https://xenia.me.uk";
}
{
name = "Forgejo";
url = "https://git.xenia.me.uk";
}
{
name = "Grafana Dashboard";
url = "https://grafana.xenia.me.uk";
}
];
}
{
name = "Documentation";
children = [
{
name = "NixOS and Flakes";
url = "https://nixos-and-flakes.thiscute.world/";
}
{
name = "Home Manager Configuration Options";
url = "https://nix-community.github.io/home-manager/options.xhtml";
}
{
name = "Home Manager Option Search";
url = "https://mipmip.github.io/home-manager-option-search/";
}
{
name = "Mozilla Policy Templates";
url = "https://mozilla.github.io/policy-templates/";
}
{
name = "Chrome Enterprise Policy List";
url = "https://chromeenterprise.google/policies/";
}
];
}
{
name = "Awesome Repos";
children = [
{
name = "Emacs";
url = "https://github.com/emacs-tw/awesome-emacs";
}
{
name = "Hyprland";
url = "https://github.com/hyprland-community/awesome-hyprland";
}
];
}
];
};
};
}