Update firefox bookmark config
This commit is contained in:
parent
df277a62f7
commit
a65558d3b8
2 changed files with 129 additions and 72 deletions
94
config/firefox-bookmarks.nix
Normal file
94
config/firefox-bookmarks.nix
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
{
|
||||
force = true;
|
||||
settings = [
|
||||
{
|
||||
name = "Toolbar";
|
||||
toolbar = true;
|
||||
bookmarks = [
|
||||
{
|
||||
name = "Links";
|
||||
url = "https://link.nas.yanlincs.com";
|
||||
}
|
||||
{
|
||||
name = "RSS";
|
||||
url = "https://rss.nas.yanlincs.com";
|
||||
}
|
||||
{
|
||||
name = "Overleaf";
|
||||
url = "https://www.overleaf.com/project";
|
||||
}
|
||||
{
|
||||
name = "Notion";
|
||||
url = "https://www.notion.so";
|
||||
}
|
||||
{
|
||||
name = "Paperless";
|
||||
url = "https://paperless.nas.yanlincs.com";
|
||||
}
|
||||
{
|
||||
name = "Nextcloud";
|
||||
url = "https://cloud.nas.yanlincs.com";
|
||||
}
|
||||
{
|
||||
name = "Productivity";
|
||||
bookmarks = [
|
||||
{
|
||||
name = "Outlook";
|
||||
url = "https://outlook.office.com/mail/";
|
||||
}
|
||||
{
|
||||
name = "Gmail";
|
||||
url = "https://mail.google.com/mail/u/0/#inbox";
|
||||
}
|
||||
{
|
||||
name = "Teams";
|
||||
url = "https://teams.microsoft.com/v2/";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "My Home";
|
||||
url = "https://home.nas.yanlincs.com/lovelace/0";
|
||||
}
|
||||
{
|
||||
name = "Media";
|
||||
bookmarks = [
|
||||
{
|
||||
name = "Immich";
|
||||
url = "https://photo.nas.yanlincs.com/photos";
|
||||
}
|
||||
{
|
||||
name = "Plex";
|
||||
url = "https://plex.nas.yanlincs.com";
|
||||
}
|
||||
{
|
||||
name = "Emby";
|
||||
url = "https://emby.nas.yanlincs.com";
|
||||
}
|
||||
{
|
||||
name = "Library";
|
||||
bookmarks = [
|
||||
{
|
||||
name = "Sonarr";
|
||||
url = "https://sonarr.nas.yanlincs.com";
|
||||
}
|
||||
{
|
||||
name = "Radarr";
|
||||
url = "https://radarr.nas.yanlincs.com";
|
||||
}
|
||||
{
|
||||
name = "qBittorrent";
|
||||
url = "https://qbit.nas.yanlincs.com";
|
||||
}
|
||||
{
|
||||
name = "MeTube";
|
||||
url = "https://metube.nas.yanlincs.com";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
@ -17,89 +17,38 @@
|
|||
if firefox-addons != null then
|
||||
with firefox-addons.packages.${pkgs.system}; [
|
||||
ublock-origin
|
||||
linkding-extension
|
||||
]
|
||||
else [];
|
||||
};
|
||||
|
||||
# Bookmarks
|
||||
bookmarks = {
|
||||
force = true;
|
||||
settings = [
|
||||
{
|
||||
name = "Toolbar";
|
||||
toolbar = true;
|
||||
bookmarks = [
|
||||
{
|
||||
name = "My Home";
|
||||
url = "https://home.nas.yanlincs.com/lovelace/0";
|
||||
}
|
||||
{
|
||||
name = "Media";
|
||||
bookmarks = [
|
||||
{
|
||||
name = "Immich";
|
||||
url = "https://photo.nas.yanlincs.com/photos";
|
||||
}
|
||||
{
|
||||
name = "Plex";
|
||||
url = "https://plex.nas.yanlincs.com";
|
||||
}
|
||||
{
|
||||
name = "Emby";
|
||||
url = "https://emby.nas.yanlincs.com";
|
||||
}
|
||||
{
|
||||
name = "Library";
|
||||
bookmarks = [
|
||||
{
|
||||
name = "Sonnar";
|
||||
url = "https://sonnar.nas.yanlincs.com";
|
||||
}
|
||||
{
|
||||
name = "Radarr";
|
||||
url = "https://radarr.nas.yanlincs.com";
|
||||
}
|
||||
{
|
||||
name = "qBittorrent";
|
||||
url = "https://qbit.nas.yanlincs.com";
|
||||
}
|
||||
{
|
||||
name = "MeTube";
|
||||
url = "https://metube.nas.yanlincs.com";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
bookmarks = import ../config/firefox-bookmarks.nix;
|
||||
|
||||
# Search configuration
|
||||
search = {
|
||||
force = true;
|
||||
default = "ddg";
|
||||
|
||||
engines = {
|
||||
"Nix Packages" = {
|
||||
urls = [{
|
||||
template = "https://search.nixos.org/packages";
|
||||
params = [
|
||||
{ name = "channel"; value = "unstable"; }
|
||||
{ name = "query"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = [ "@np" ];
|
||||
};
|
||||
|
||||
"NixOS Wiki" = {
|
||||
urls = [{ template = "https://wiki.nixos.org/index.php?search={searchTerms}"; }];
|
||||
icon = "https://wiki.nixos.org/favicon.png";
|
||||
definedAliases = [ "@nw" ];
|
||||
};
|
||||
};
|
||||
# engines = {
|
||||
# "Nix Packages" = {
|
||||
# urls = [{
|
||||
# template = "https://search.nixos.org/packages";
|
||||
# params = [
|
||||
# { name = "channel"; value = "unstable"; }
|
||||
# { name = "query"; value = "{searchTerms}"; }
|
||||
# ];
|
||||
# }];
|
||||
# icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
# definedAliases = [ "@np" ];
|
||||
# };
|
||||
#
|
||||
# "NixOS Wiki" = {
|
||||
# urls = [{ template = "https://wiki.nixos.org/index.php?search={searchTerms}"; }];
|
||||
# icon = "https://wiki.nixos.org/favicon.png";
|
||||
# definedAliases = [ "@nw" ];
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
||||
# Firefox settings
|
||||
|
|
@ -164,6 +113,20 @@
|
|||
# Disable Pocket
|
||||
"extensions.pocket.enabled" = false;
|
||||
"browser.newtabpage.activity-stream.section.highlights.includePocket" = false;
|
||||
|
||||
# Password Manager - disable all functionality
|
||||
"signon.rememberSignons" = false;
|
||||
"signon.autofillForms" = false;
|
||||
"signon.prefillForms" = false;
|
||||
|
||||
# Form Auto-complete - disable all form history and suggestions
|
||||
"browser.formfill.enable" = false;
|
||||
"browser.formfill.saveHttpsForms" = false;
|
||||
|
||||
# Additional Auto-fill features - disable address and credit card autofill
|
||||
"extensions.formautofill.addresses.enabled" = false;
|
||||
"extensions.formautofill.creditCards.enabled" = false;
|
||||
"extensions.formautofill.heuristics.enabled" = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue