2023-10-06 13:56:11 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.firefox = {
|
|
|
|
enable = true;
|
|
|
|
languagePacks = [ "en-GB" ];
|
|
|
|
policies = {
|
|
|
|
Cookies = { Behaviour = "reject-tracker-and-partition-foreign"; };
|
|
|
|
DisableAppUpdate = true;
|
|
|
|
DisableBuiltinPDFViewer = true;
|
|
|
|
DisableFirefoxAccounts = true;
|
|
|
|
DisableFirefoxStudies = true;
|
|
|
|
DisableProfileImport = true;
|
|
|
|
DisableSetDesktopBackground = true;
|
|
|
|
DisableSystemAddonUpdate = true;
|
|
|
|
DisableTelemetry = true;
|
|
|
|
DisplayBookmarksToolbar = "always";
|
|
|
|
DisplayMenuBar = "default-off";
|
|
|
|
EnableTrackingProtection = {
|
|
|
|
Value = true;
|
|
|
|
Cryptomining = true;
|
|
|
|
Fingerprinting = true;
|
|
|
|
EmailTracking = true;
|
|
|
|
};
|
|
|
|
ExtensionSettings = {
|
|
|
|
"queryamoid@kaply.com" = {
|
|
|
|
installation_mode = "force_installed";
|
|
|
|
install_url =
|
|
|
|
"https://github.com/mkaply/queryamoid/releases/download/v0.1/query_amo_addon_id-0.1-fx.xpi";
|
|
|
|
};
|
2023-10-12 07:21:40 +01:00
|
|
|
"{995463c6-18a1-4cf7-b0f1-564e050d778b}" = {
|
|
|
|
# Tokyonight theme
|
|
|
|
installation_mode = "force_installed";
|
|
|
|
install_url =
|
|
|
|
"https://addons.mozilla.org/firefox/downloads/latest/tokyonight_vim/latest.xpi";
|
|
|
|
};
|
2023-10-22 13:39:25 +01:00
|
|
|
"uBlock0@raymondhill.net" = {
|
|
|
|
# uBlock Origin
|
|
|
|
installation_mode = "force_installed";
|
|
|
|
install_url =
|
|
|
|
"https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
|
|
|
};
|
|
|
|
"7esoorv3@alefvanoon.anonaddy.me" = {
|
|
|
|
# LibRedirect
|
|
|
|
installation_mode = "force_installed";
|
2023-10-06 13:56:11 +01:00
|
|
|
install_url =
|
2023-10-22 13:39:25 +01:00
|
|
|
"https://addons.mozilla.org/firefox/downloads/latest/libredirect/latest.xpi";
|
2023-10-06 13:56:11 +01:00
|
|
|
};
|
2023-10-22 13:39:25 +01:00
|
|
|
"jid1-KKzOGWgsW3Ao4Q@jetpack" = {
|
|
|
|
# I don't care about cookies
|
|
|
|
installation_mode = "force_installed";
|
2023-10-06 13:56:11 +01:00
|
|
|
install_url =
|
2023-10-22 13:39:25 +01:00
|
|
|
"https://addons.mozilla.org/firefox/downloads/latest/i-dont-care-about-cookies/latest.xpi";
|
2023-10-06 13:56:11 +01:00
|
|
|
};
|
2023-10-22 13:39:25 +01:00
|
|
|
"floccus@handmadeideas.org" = {
|
2023-10-06 13:56:11 +01:00
|
|
|
installation_mode = "normal_installed";
|
|
|
|
install_url =
|
2023-10-22 13:39:25 +01:00
|
|
|
"https://addons.mozilla.org/firefox/downloads/latest/floccus/latest.xpi";
|
2023-10-06 13:56:11 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
FirefoxHome = {
|
|
|
|
Search = true;
|
|
|
|
TopSites = true;
|
|
|
|
SponsoredTopSites = false;
|
|
|
|
Highlights = false;
|
|
|
|
Pocket = false;
|
|
|
|
SponsoredPocket = false;
|
|
|
|
Snippets = false;
|
|
|
|
Locked = true;
|
|
|
|
};
|
|
|
|
HomePage = {
|
|
|
|
URL = "https://nixos.org";
|
|
|
|
StartPage = "homepage-locked";
|
|
|
|
};
|
|
|
|
ManagedBookmarks = [
|
|
|
|
{ toplevel_name = "Standard Bookmarks"; }
|
2023-10-09 08:14:22 +01:00
|
|
|
{
|
2023-10-22 08:44:59 +01:00
|
|
|
name = "Config Repo";
|
|
|
|
url = "https://git.xenia.me.uk/xenia/nixos";
|
2023-10-22 07:09:44 +01:00
|
|
|
}
|
2023-10-19 11:45:49 +01:00
|
|
|
{
|
|
|
|
name = "WhatsApp Web";
|
|
|
|
url = "https://web.whatsapp.com/";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "Discord";
|
|
|
|
url = "https://discord.com/app";
|
|
|
|
}
|
2023-10-22 08:44:59 +01:00
|
|
|
{
|
|
|
|
name = "Server";
|
|
|
|
children = [
|
|
|
|
{
|
|
|
|
name = "NextCloud";
|
|
|
|
url = "https://cloud.xenia.me.uk/";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "Gitea";
|
|
|
|
url = "https://git.xenia.me.uk";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "Grafana Dashboard";
|
|
|
|
url = "https://status.xenia.me.uk";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "ntfy.sh";
|
|
|
|
url = "https://ntfy.xenia.me.uk";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "AdGuard Home";
|
|
|
|
url = "https://guard.xenia.me.uk";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "Traefik";
|
|
|
|
url = "https://traefik.xenia.me.uk";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
2023-10-06 13:56:11 +01:00
|
|
|
{
|
2023-10-16 10:24:57 +01:00
|
|
|
name = "Wikis";
|
|
|
|
children = [
|
|
|
|
{
|
|
|
|
name = "NixOS Wiki";
|
|
|
|
url = "https://nixos.wiki/";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "Hyprland Wiki";
|
|
|
|
url = "https://wiki.hyprland.org/";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "Arch Wiki";
|
|
|
|
url = "https://wiki.archlinux.org/";
|
|
|
|
}
|
|
|
|
];
|
2023-10-06 13:56:11 +01:00
|
|
|
}
|
|
|
|
{
|
2023-10-16 10:24:57 +01:00
|
|
|
name = "Docs";
|
2023-10-06 13:56:11 +01:00
|
|
|
children = [
|
|
|
|
{
|
2023-10-16 10:24:57 +01:00
|
|
|
name = "NixOS and Flakes";
|
|
|
|
url = "https://nixos-and-flakes.thiscute.world/";
|
2023-10-06 13:56:11 +01:00
|
|
|
}
|
|
|
|
{
|
2023-10-16 10:24:57 +01:00
|
|
|
name = "Doom Emacs Docs";
|
|
|
|
url = "https://docs.doomemacs.org/";
|
2023-10-06 13:56:11 +01:00
|
|
|
}
|
|
|
|
{
|
2023-10-16 10:24:57 +01:00
|
|
|
name = "Nerd Fonts Cheat Sheet";
|
|
|
|
url = "https://www.nerdfonts.com/cheat-sheet";
|
2023-10-06 13:56:11 +01:00
|
|
|
}
|
|
|
|
{
|
2023-10-16 10:24:57 +01:00
|
|
|
name = "Stylix Docs";
|
|
|
|
url = "https://danth.github.io/stylix/";
|
2023-10-06 13:56:11 +01:00
|
|
|
}
|
|
|
|
{
|
2023-10-16 10:24:57 +01:00
|
|
|
name = "Mozilla Policy Templates";
|
|
|
|
url = "https://mozilla.github.io/policy-templates/";
|
2023-10-06 13:56:11 +01:00
|
|
|
}
|
2023-10-22 08:44:59 +01:00
|
|
|
{
|
|
|
|
name = "AdGuard Home Docs";
|
|
|
|
url = "https://github.com/AdguardTeam/AdGuardHome/wiki";
|
|
|
|
}
|
2023-10-06 13:56:11 +01:00
|
|
|
];
|
|
|
|
}
|
|
|
|
{
|
2023-10-22 08:44:59 +01:00
|
|
|
name = "Dev";
|
2023-10-06 13:56:11 +01:00
|
|
|
children = [
|
2023-10-16 10:24:57 +01:00
|
|
|
{
|
|
|
|
name = "GitHub";
|
|
|
|
url = "https://github.com";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "GitLab";
|
|
|
|
url = "https://gitlab.com";
|
2023-10-06 13:56:11 +01:00
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
NoDefaultBookmarks = true;
|
|
|
|
OfferToSaveLogins = false;
|
|
|
|
PasswordManagerEnabled = false;
|
|
|
|
PopupBlocking = { Default = true; };
|
|
|
|
RequestedLocales = [ "en-GB" ];
|
|
|
|
SearchEngines = { Default = "DuckDuckGo"; };
|
|
|
|
ShowHomeButton = true;
|
|
|
|
StartDownloadsInTempDirectory = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|