2024-04-03 11:02:26 +01:00
|
|
|
{pkgs, ...}: {
|
|
|
|
environment.systemPackages = [pkgs.chromium];
|
2024-02-01 06:35:01 +00:00
|
|
|
programs.chromium = {
|
2023-11-02 07:48:04 +00:00
|
|
|
enable = true;
|
|
|
|
defaultSearchProviderEnabled = true;
|
2024-02-01 06:35:01 +00:00
|
|
|
defaultSearchProviderSearchURL = "https://search.atlas.engineer/searxng/search?q={searchTerms}";
|
|
|
|
defaultSearchProviderSuggestURL = "https://duckduckgo.com/?q={searchTerms}";
|
2024-04-03 11:02:26 +01:00
|
|
|
extensions = [
|
|
|
|
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
|
|
|
|
"dphilobhebphkdjbpfohgikllaljmgbn" # simplelogin
|
|
|
|
"bkkmolkhemgaeaeggcmfbghljjjoofoh" # catppuccin mocha theme
|
|
|
|
];
|
2023-11-02 07:48:04 +00:00
|
|
|
extraOpts = {
|
2024-04-03 11:02:26 +01:00
|
|
|
"AllowDinosaurEasterEgg" = true;
|
|
|
|
"AllowSystemNotifications" = true;
|
|
|
|
"AutoFillEnabled" = false;
|
|
|
|
"BookmarkBarEnabled" = true;
|
|
|
|
"BrowserLabsEnabled" = false;
|
2023-11-02 07:48:04 +00:00
|
|
|
"BrowserSignin" = 0;
|
2024-01-30 08:04:37 +00:00
|
|
|
"ClearBrowsingDataOnExitList" = [
|
|
|
|
"browsing_history"
|
|
|
|
"download_history"
|
|
|
|
"cached_images_and_files"
|
|
|
|
"password_signin"
|
|
|
|
"autofill"
|
|
|
|
];
|
2023-11-24 08:44:12 +00:00
|
|
|
"DefaultBrowserSettingEnabled" = false;
|
2023-11-02 07:48:04 +00:00
|
|
|
"DeviceAutoUpdateDisabled" = true;
|
2024-04-03 11:02:26 +01:00
|
|
|
"HomepageIsNewTabPage" = false;
|
2023-11-02 07:48:04 +00:00
|
|
|
"PasswordManagerEnabled" = false;
|
2024-04-03 11:02:26 +01:00
|
|
|
"RestoreOnStartup" = 5;
|
|
|
|
"ShoppingListEnabled" = false;
|
|
|
|
"ShowHomeButton" = false;
|
2023-11-02 07:48:04 +00:00
|
|
|
"SpellcheckEnabled" = true;
|
2024-01-30 14:21:50 +00:00
|
|
|
"SpellcheckLanguage" = ["en-GB"];
|
2024-04-03 11:02:26 +01:00
|
|
|
"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";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
2023-11-02 07:48:04 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|