2024-03-09 17:18:36 +01:00
|
|
|
{ inputs, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2024-10-06 16:36:21 +02:00
|
|
|
# about:policies
|
|
|
|
# Check about:support for extension/add-on ID strings.
|
|
|
|
# Check about:config for options.
|
|
|
|
|
|
|
|
|
2024-05-10 19:34:43 +02:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
unstable.firefoxpwa
|
|
|
|
];
|
|
|
|
|
2024-03-09 17:18:36 +01:00
|
|
|
programs.firefox = {
|
|
|
|
enable = true;
|
2024-06-03 18:26:34 +02:00
|
|
|
nativeMessagingHosts = [ pkgs.unstable.firefoxpwa ];
|
|
|
|
policies = {
|
|
|
|
DisableTelemetry = true;
|
|
|
|
DisableFirefoxStudies = true;
|
|
|
|
EnableTrackingProtection = {
|
|
|
|
Value = true;
|
|
|
|
Locked = true;
|
|
|
|
Cryptomining = true;
|
|
|
|
Fingerprinting = true;
|
|
|
|
};
|
|
|
|
DisablePocket = true;
|
|
|
|
DisableFirefoxAccounts = true;
|
|
|
|
DisableAccounts = true;
|
|
|
|
DontCheckDefaultBrowser = true;
|
|
|
|
DisplayBookmarksToolbar = "never";
|
|
|
|
ExtensionSettings = {
|
|
|
|
"nl-NL@dictionaries.addons.mozilla.org" = {
|
|
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/woordenboek-nederlands/latest.xpi";
|
|
|
|
installation_mode = "force_installed";
|
|
|
|
};
|
|
|
|
"uBlock0@raymondhill.net" = {
|
|
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
|
|
|
installation_mode = "force_installed";
|
|
|
|
};
|
|
|
|
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
|
|
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
|
|
|
|
installation_mode = "force_installed";
|
|
|
|
};
|
|
|
|
"firefoxpwa@filips.si" = {
|
|
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/pwas-for-firefox/latest.xpi";
|
|
|
|
installation_mode = "force_installed";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-03-09 17:18:36 +01:00
|
|
|
profiles.xeovalyte = {
|
2024-10-06 16:36:21 +02:00
|
|
|
bookmarks = [
|
|
|
|
{
|
|
|
|
name = "Toolbar";
|
|
|
|
toolbar = true;
|
|
|
|
bookmarks = [
|
|
|
|
{
|
|
|
|
name = "Brightspace";
|
|
|
|
bookmarks = [
|
|
|
|
{
|
|
|
|
name = "LCA";
|
|
|
|
url = "https://brightspace.tudelft.nl/d2l/le/content/681008/Home";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "DSA";
|
|
|
|
url = "https://brightspace.tudelft.nl/d2l/le/content/681012/Home";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "iEE";
|
|
|
|
url = "https://brightspace.tudelft.nl/d2l/le/content/681018/Home";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
2024-03-09 17:18:36 +01:00
|
|
|
search.engines = {
|
|
|
|
"Nix" = {
|
|
|
|
urls = [{
|
|
|
|
template = "https://mynixos.com/search";
|
|
|
|
params = [
|
|
|
|
{ name = "q"; value = "{searchTerms}"; }
|
|
|
|
];
|
|
|
|
}];
|
|
|
|
|
|
|
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
definedAliases = [ "@nix" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
"SearXNG" = {
|
|
|
|
urls = [{
|
|
|
|
template = "https:/search.xeovalyte.dev/search";
|
|
|
|
params = [
|
|
|
|
{ name = "q"; value = "{searchTerms}"; }
|
|
|
|
];
|
|
|
|
}];
|
|
|
|
|
|
|
|
definedAliases = [ "@searxng" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
"Startpage" = {
|
|
|
|
urls = [{
|
|
|
|
template = "https:/startpage.com/sp/search";
|
|
|
|
params = [
|
|
|
|
{ name = "q"; value = "{searchTerms}"; }
|
|
|
|
];
|
|
|
|
}];
|
|
|
|
|
|
|
|
definedAliases = [ "@sp" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
"Bing".metaData.hidden = true;
|
|
|
|
"Google".metaData.hidden = true;
|
|
|
|
"eBay".metaData.hidden = true;
|
|
|
|
};
|
|
|
|
search.force = true;
|
|
|
|
search.default = "SearXNG";
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
"browser.disableResetPrompt" = true;
|
|
|
|
"browser.download.panel.shown" = true;
|
|
|
|
"browser.download.useDownloadDir" = false;
|
|
|
|
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
|
|
|
"browser.shell.checkDefaultBrowser" = false;
|
|
|
|
"browser.shell.defaultBrowserCheckCount" = 1;
|
|
|
|
"dom.security.https_only_mode" = true;
|
|
|
|
"privacy.trackingProtection.enabled" = true;
|
2024-10-06 16:36:21 +02:00
|
|
|
"browser.toolbars.bookmarks.visibility" = "newtab";
|
2024-03-09 17:18:36 +01:00
|
|
|
"browser.translations.neverTranslateLanguages" = "nl";
|
|
|
|
"browser.newtabpage.pinned" = [
|
|
|
|
{
|
|
|
|
label = "Server";
|
|
|
|
url = "https://home.xeovalyte.dev";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "Youtube";
|
|
|
|
url = "https://youtube.com";
|
|
|
|
}
|
|
|
|
{
|
2024-09-05 19:20:03 +02:00
|
|
|
label = "My TU Delft";
|
|
|
|
url = "https://my.tudelft.nl/";
|
2024-03-09 17:18:36 +01:00
|
|
|
}
|
|
|
|
];
|
|
|
|
"signon.rememberSignons" = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|