FIX : typo + bookmarks

This commit is contained in:
LUCAZEAU Alexandre 2023-10-26 14:04:28 +02:00
parent c755ef21b7
commit 88c631ca05
1 changed files with 107 additions and 100 deletions

View File

@ -1,105 +1,112 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
inherit pkgs; inherit pkgs;
}; };
in in
{ {
programs.firefox = { programs.firefox = {
enable = true ; enable = true ;
profiles.default = { profiles.default = {
isDefault = true ; isDefault = true ;
extensions = lib.mkIf config.programs.firefox.enable extensions = lib.mkIf config.programs.firefox.enable
(with nur.repos.rycee.firefox-addons; [ (with nur.repos.rycee.firefox-addons; [
french-dictionary french-dictionary
i-dont-care-about-cookies i-dont-care-about-cookies
ublock-origin ublock-origin
privacy-badger privacy-badger
keepassxc-browser keepassxc-browser
clearurls clearurls
decentraleyes decentraleyes
floccus floccus
]); ]);
search = { search = {
force = true; force = true;
default = "Google"; default = "Google";
engines = { engines = {
"Nix Packages" = { "Nix Packages" = {
urls = [{ urls = [{
template = "https://search.nixos.org/packages"; template = "https://search.nixos.org/packages";
params = [ params = [
{ name = "type"; value = "packages"; } { name = "type"; value = "packages"; }
{ name = "query"; value = "{searchTerms}"; } { name = "query"; value = "{searchTerms}"; }
]; ];
}]; }];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@np" ]; definedAliases = [ "@np" ];
}; };
"NixOS Wiki" = { "NixOS Wiki" = {
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }]; urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
iconUpdateURL = "https://nixos.wiki/favicon.png"; iconUpdateURL = "https://nixos.wiki/favicon.png";
updateInterval = 24 * 60 * 60 * 1000; updateInterval = 24 * 60 * 60 * 1000;
definedAliases = [ "@nw" ]; definedAliases = [ "@nw" ];
}; };
"Wikipedia (en)".metaData.alias = "@wiki"; "Wikipedia (en)".metaData.alias = "@wiki";
"Google".metaData.hidden = false; "Google".metaData.hidden = false;
"Amazon.com".metaData.hidden = true; "Amazon.com".metaData.hidden = true;
"Bing".metaData.hidden = true; "Bing".metaData.hidden = true;
"eBay".metaData.hidden = true; "eBay".metaData.hidden = true;
}; };
}; };
bookmarks = [
{ bookmarks = [
name = "wikipedia"; {
tags = [ "wiki" ]; name = "DRI";
keyword = "wiki"; toolbar = true;
url = "https://en.wikipedia.org/wiki/Special:Search?search="; bookmarks = [
} {
{ name = "wiki";
name = "kernel.org"; tags = [ "wiki" ];
url ="https://v2.produhost.net/panel/16148/dashboard"; keyword = "wiki";
} url = "https://en.wikipedia.org/wiki/Special:Search?search=";
]; }
{
settings = { name = "AVV";
url ="https://v2.produhost.net/panel/16148/dashboard";
settings = { }
"browser.contentblocking.category" = "strict" ; ];
"browser.search.region" = "CH" ; }
"browser.startup.homepage" = https://www.google.fr ; ];
"dom.security.https_only_mode" = true ;
"dom.security.https_only_mode_ever_enabled" = true ; settings = {
"extensions.blocklist.pingCountVersion" = -1 ; settings = {
"extensions.databaseSchema" = 35 ; "browser.contentblocking.category" = "strict" ;
"extensions.ui.dictionary.hidden" = false ; "browser.search.region" = "CH" ;
"extensions.ui.extension.hidden" = false ; "browser.startup.homepage" = https://www.google.fr ;
"extensions.ui.locale.hidden" = true ; "browser.toolbars.bookmarks.visibility" = "always";
"extensions.ui.sitepermission.hidden" = true ; "dom.security.https_only_mode" = true ;
"extensions.webcompat.enable_shims" = true ; "dom.security.https_only_mode_ever_enabled" = true ;
"extensions.webcompat.perform_injections" = true ; "extensions.blocklist.pingCountVersion" = -1 ;
"extensions.webcompat.perform_ua_overrides" = true ; "extensions.databaseSchema" = 35 ;
"findbar.highlightAll" = true ; "extensions.ui.dictionary.hidden" = false ;
"font.name.serif.x-western" = "FreeSerif" ; "extensions.ui.extension.hidden" = false ;
"font.size.variable.x-western" = 20 ; "extensions.ui.locale.hidden" = true ;
"media.eme.enabled" = true ; "extensions.ui.sitepermission.hidden" = true ;
"pref.browser.homepage.disable_button.current_page" = false ; "extensions.webcompat.enable_shims" = true ;
"print_printer" = "Mozilla Save to PDF" ; "extensions.webcompat.perform_injections" = true ;
"privacy.annotate_channels.strict_list.enabled" = true ; "extensions.webcompat.perform_ua_overrides" = true ;
"privacy.clearOnShutdown.cookies" = true ; "findbar.highlightAll" = true ;
"privacy.clearOnShutdown.downloads" = false ; "font.name.serif.x-western" = "FreeSerif" ;
"privacy.clearOnShutdown.formdata" = false ; "font.size.variable.x-western" = 20 ;
"privacy.clearOnShutdown.history" = false ; "media.eme.enabled" = true ;
"privacy.clearOnShutdown.offlineApps" = true ; "pref.browser.homepage.disable_button.current_page" = false ;
"privacy.clearOnShutdown.sessions" = false ; "print_printer" = "Mozilla Save to PDF" ;
"privacy.donottrackheader.enabled" = true ; "privacy.annotate_channels.strict_list.enabled" = true ;
"privacy.firstparty.isolate" = true ; "privacy.clearOnShutdown.cookies" = true ;
"privacy.history.custom" = true ; "privacy.clearOnShutdown.downloads" = false ;
"privacy.purge_trackers.date_in_cookie_database" = 0 ; "privacy.clearOnShutdown.formdata" = false ;
"privacy.trackingprotection.emailtracking.enabled" = true ; "privacy.clearOnShutdown.history" = false ;
"privacy.trackingprotection.enabled" = true ; "privacy.clearOnShutdown.offlineApps" = true ;
"privacy.trackingprotection.socialtracking.enabled" = true ; "privacy.clearOnShutdown.sessions" = false ;
} ; "privacy.donottrackheader.enabled" = true ;
} ; "privacy.firstparty.isolate" = true ;
} ; "privacy.history.custom" = true ;
} ; "privacy.purge_trackers.date_in_cookie_database" = 0 ;
"privacy.trackingprotection.emailtracking.enabled" = true ;
"privacy.trackingprotection.enabled" = true ;
"privacy.trackingprotection.socialtracking.enabled" = true ;
};
};
} ;
} ;
} }