2024-01-30 14:21:50 +00:00
|
|
|
{...}: {
|
2023-10-06 13:56:11 +01:00
|
|
|
programs.firefox = {
|
|
|
|
enable = true;
|
2024-01-30 14:21:50 +00:00
|
|
|
languagePacks = ["en-GB"];
|
2023-10-06 13:56:11 +01:00
|
|
|
policies = {
|
2024-02-07 07:14:12 +00:00
|
|
|
BlockAboutProfiles = true;
|
|
|
|
Containers = {
|
|
|
|
Default = [
|
|
|
|
{
|
|
|
|
name = "Personal";
|
|
|
|
icon = "fingerprint";
|
|
|
|
color = "purple";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "Work";
|
|
|
|
icon = "briefcase";
|
|
|
|
color = "blue";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2023-12-08 15:16:40 +00:00
|
|
|
Cookies = {
|
|
|
|
Behavior = "reject-tracker-and-partition-foreign";
|
2024-02-07 07:14:12 +00:00
|
|
|
BehaviorPrivateBrowsing = "reject";
|
2023-12-08 15:16:40 +00:00
|
|
|
Locked = true;
|
|
|
|
};
|
2024-02-07 07:14:12 +00:00
|
|
|
DefaultDownloadDirectory = "\${home}/Downloads";
|
2023-10-06 13:56:11 +01:00
|
|
|
DisableAppUpdate = true;
|
2024-02-07 07:14:12 +00:00
|
|
|
# DisableBuiltinPDFViewer = true;
|
2023-10-06 13:56:11 +01:00
|
|
|
DisableFirefoxAccounts = true;
|
2024-02-07 07:14:12 +00:00
|
|
|
DisableFirefoxScreenshots = true;
|
2023-10-06 13:56:11 +01:00
|
|
|
DisableFirefoxStudies = true;
|
2024-02-07 07:14:12 +00:00
|
|
|
DisableFormHistory = true;
|
|
|
|
DisablePocket = true;
|
2023-10-06 13:56:11 +01:00
|
|
|
DisableProfileImport = true;
|
|
|
|
DisableSetDesktopBackground = true;
|
|
|
|
DisableSystemAddonUpdate = true;
|
|
|
|
DisableTelemetry = true;
|
2023-11-24 08:44:12 +00:00
|
|
|
DisplayBookmarksToolbar = "newtab";
|
2023-10-06 13:56:11 +01:00
|
|
|
DisplayMenuBar = "default-off";
|
2024-02-07 07:14:12 +00:00
|
|
|
DontCheckDefaultBrowser = true;
|
2023-10-06 13:56:11 +01:00
|
|
|
EnableTrackingProtection = {
|
|
|
|
Value = true;
|
2024-02-07 07:14:12 +00:00
|
|
|
Locked = true;
|
2023-10-06 13:56:11 +01:00
|
|
|
Cryptomining = true;
|
|
|
|
Fingerprinting = true;
|
|
|
|
};
|
|
|
|
ExtensionSettings = {
|
|
|
|
"queryamoid@kaply.com" = {
|
|
|
|
installation_mode = "force_installed";
|
2024-01-30 14:21:50 +00:00
|
|
|
install_url = "https://github.com/mkaply/queryamoid/releases/download/v0.1/query_amo_addon_id-0.1-fx.xpi";
|
2023-10-06 13:56:11 +01:00
|
|
|
};
|
2023-10-22 13:39:25 +01:00
|
|
|
"uBlock0@raymondhill.net" = {
|
|
|
|
installation_mode = "force_installed";
|
2024-01-30 14:21:50 +00:00
|
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
2023-10-22 13:39:25 +01:00
|
|
|
};
|
2024-02-08 08:14:07 +00:00
|
|
|
# Sweet-Dark theme
|
2024-02-08 19:05:27 +00:00
|
|
|
# "{59f619c8-220b-4a27-8918-bf1537bc060a}" = {
|
|
|
|
# installation_mode = "force_installed";
|
|
|
|
# install_url = "https://addons.mozilla.org/firefox/downloads/latest/sweet-dark/latest.xpi";
|
|
|
|
# };
|
|
|
|
# Tokyo Night Niivu
|
|
|
|
"{c6698fd1-fe9b-4eae-95d5-fe1703820469}" = {
|
2024-02-08 08:14:07 +00:00
|
|
|
installation_mode = "force_installed";
|
2024-02-08 19:05:27 +00:00
|
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/tokyo-night-niivu/latest.xpi";
|
2024-02-08 08:14:07 +00:00
|
|
|
};
|
2023-10-06 13:56:11 +01:00
|
|
|
};
|
|
|
|
FirefoxHome = {
|
|
|
|
Search = true;
|
2024-02-07 07:14:12 +00:00
|
|
|
TopSites = false;
|
2023-10-06 13:56:11 +01:00
|
|
|
SponsoredTopSites = false;
|
|
|
|
Highlights = false;
|
|
|
|
Pocket = false;
|
|
|
|
SponsoredPocket = false;
|
|
|
|
Snippets = false;
|
|
|
|
Locked = true;
|
|
|
|
};
|
2024-02-07 07:14:12 +00:00
|
|
|
FirefoxSuggest = {
|
|
|
|
WebSuggestions = false;
|
|
|
|
SponsoredSuggestions = false;
|
|
|
|
ImproveSuggest = false;
|
|
|
|
Locked = true;
|
|
|
|
};
|
|
|
|
HardwareAcceleration = true;
|
|
|
|
Homepage = {
|
2024-02-07 07:27:46 +00:00
|
|
|
URL = "https://nixos.wiki";
|
2024-02-07 07:14:12 +00:00
|
|
|
Locked = true;
|
2024-02-07 07:27:46 +00:00
|
|
|
StartPage = "homepage-locked";
|
2024-02-07 07:14:12 +00:00
|
|
|
};
|
2023-10-06 13:56:11 +01:00
|
|
|
ManagedBookmarks = [
|
2024-02-07 07:14:12 +00:00
|
|
|
# TODO update these
|
2024-01-30 14:21:50 +00:00
|
|
|
{toplevel_name = "Managed Bookmarks";}
|
2023-10-22 08:44:59 +01:00
|
|
|
{
|
|
|
|
name = "Server";
|
|
|
|
children = [
|
2023-10-27 05:55:55 +01:00
|
|
|
{
|
|
|
|
name = "Gitea";
|
|
|
|
url = "https://git.xenia.me.uk";
|
|
|
|
}
|
2023-10-22 08:44:59 +01:00
|
|
|
{
|
2024-01-17 16:22:05 +00:00
|
|
|
name = "Grafana Dashboard";
|
|
|
|
url = "https://grafana.xenia.me.uk";
|
2023-10-22 08:44:59 +01:00
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "AdGuard Home";
|
|
|
|
url = "https://guard.xenia.me.uk";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
2023-10-06 13:56:11 +01:00
|
|
|
{
|
2023-12-05 13:29:24 +00:00
|
|
|
name = "Documentation";
|
2023-10-06 13:56:11 +01:00
|
|
|
children = [
|
2023-10-26 07:00:51 +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 = "Stylix Docs";
|
|
|
|
url = "https://danth.github.io/stylix/";
|
2023-10-06 13:56:11 +01:00
|
|
|
}
|
2023-12-05 13:29:24 +00:00
|
|
|
{
|
|
|
|
name = "The Rust Book";
|
|
|
|
url = "https://doc.rust-lang.org/stable/book/";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "Rust by Example";
|
|
|
|
url = "https://doc.rust-lang.org/stable/rust-by-example/";
|
|
|
|
}
|
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
|
|
|
{
|
2023-12-05 13:29:24 +00:00
|
|
|
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";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "Gitea";
|
|
|
|
url = "https://gitea.com/gitea/awesome-gitea";
|
2023-10-22 08:44:59 +01:00
|
|
|
}
|
2023-10-06 13:56:11 +01:00
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
2024-02-07 07:14:12 +00:00
|
|
|
NewTabPage = false;
|
2023-10-06 13:56:11 +01:00
|
|
|
NoDefaultBookmarks = true;
|
|
|
|
OfferToSaveLogins = false;
|
|
|
|
PasswordManagerEnabled = false;
|
2024-02-07 07:14:12 +00:00
|
|
|
PDFjs = {Enabled = false;};
|
|
|
|
Permissions = {
|
|
|
|
Autoplay = {
|
|
|
|
Default = "block-audio-video";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
PictureInPicture = {Enabled = true;};
|
2024-01-30 14:21:50 +00:00
|
|
|
PopupBlocking = {Default = true;};
|
2024-02-07 07:27:46 +00:00
|
|
|
Preferences = {
|
|
|
|
"browser.bookmarks.addedImportButton" = false;
|
|
|
|
"browser.bookmarks.showMobileBookmarks" = false;
|
|
|
|
"browser.newtabpage.pinned" = [
|
|
|
|
{
|
|
|
|
title = "NixOS Wiki";
|
|
|
|
url = "https://nixos.wiki";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
title = "Arch Wiki";
|
|
|
|
url = "https://wiki.archlinux.org";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
title = "Hyprland Wiki";
|
|
|
|
url = "https://wiki.hyprland.org";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
"browser.search.region" = "GB";
|
|
|
|
"browser.warnOnQuitShortcut" = false;
|
2024-02-08 19:05:27 +00:00
|
|
|
"extensions.activeThemeID" = "{c6698fd1-fe9b-4eae-95d5-fe1703820469}";
|
2024-02-07 07:27:46 +00:00
|
|
|
"intl.accept_languages" = "en-gb,en";
|
|
|
|
"intl.locale.requested" = "en-gb,en";
|
|
|
|
"intl.regional_prefs.use_os_locales" = false;
|
|
|
|
"media.eme.enabled" = true;
|
|
|
|
};
|
2024-01-30 14:21:50 +00:00
|
|
|
RequestedLocales = ["en-GB"];
|
2024-02-07 07:14:12 +00:00
|
|
|
SanitizeOnShutdown = {
|
2024-02-08 07:10:58 +00:00
|
|
|
Cache = false;
|
|
|
|
Cookies = false;
|
2024-02-07 07:14:12 +00:00
|
|
|
Downloads = true;
|
|
|
|
FormData = true;
|
|
|
|
History = true;
|
|
|
|
Sessions = true;
|
|
|
|
SiteSettings = false;
|
|
|
|
OfflineApps = false;
|
|
|
|
Locked = true;
|
|
|
|
};
|
|
|
|
SearchBar = "unified";
|
2024-02-07 07:42:56 +00:00
|
|
|
ShowHomeButton = true;
|
2023-10-06 13:56:11 +01:00
|
|
|
StartDownloadsInTempDirectory = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|