Evie Litherland-Smith
077b04ca73
teams-for-linux seems to have support issues with new teams updates, so switching to just using chromium as my browser as that should work better Add chromium package back, also waybar rewrite and window rules, set as default browser for mimeapps Update chromium configs; Add ManagedBookmarks and alphabetise the other config options. Add ublock-origin, simplelogin and catppuccin theme plugins
120 lines
3.5 KiB
Nix
120 lines
3.5 KiB
Nix
{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;
|
|
"ClearBrowsingDataOnExitList" = [
|
|
"browsing_history"
|
|
"download_history"
|
|
"cookies_and_other_site_data"
|
|
"cached_images_and_files"
|
|
"password_signin"
|
|
"autofill"
|
|
"site_settings"
|
|
"hosted_app_data"
|
|
];
|
|
"DefaultBrowserSettingEnabled" = false;
|
|
"DeviceAutoUpdateDisabled" = true;
|
|
"HomepageIsNewTabPage" = false;
|
|
"PasswordManagerEnabled" = false;
|
|
"RestoreOnStartup" = 5;
|
|
"ShoppingListEnabled" = false;
|
|
"ShowHomeButton" = false;
|
|
"SpellcheckEnabled" = true;
|
|
"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";
|
|
}
|
|
];
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|