mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-15 04:37:21 +00:00
Fix firefox.
This commit is contained in:
parent
b845b1136b
commit
676424ae0f
2 changed files with 95 additions and 16 deletions
|
@ -7,13 +7,15 @@ let
|
||||||
calibre = "Calibre";
|
calibre = "Calibre";
|
||||||
discord = "Discord";
|
discord = "Discord";
|
||||||
email = "Mail";
|
email = "Mail";
|
||||||
|
firefox = "Firefox";
|
||||||
ical = "Calendar";
|
ical = "Calendar";
|
||||||
im = "Messages";
|
im = "Messages";
|
||||||
maps = "Maps";
|
maps = "Maps";
|
||||||
music = "Music";
|
music = "Music";
|
||||||
|
safari = "Safari";
|
||||||
settings = "System Settings";
|
settings = "System Settings";
|
||||||
spotify = "Spotify";
|
spotify = "Spotify";
|
||||||
web = "Safari";
|
web = "Firefox";
|
||||||
zotero = "Zotero";
|
zotero = "Zotero";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
|
@ -34,21 +34,98 @@
|
||||||
|
|
||||||
firefox = {
|
firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
profiles.primary = {
|
||||||
browserpass
|
id = 0;
|
||||||
bypass-paywalls-clean
|
isDefault = true;
|
||||||
clearurls
|
search = {
|
||||||
don-t-fuck-with-paste
|
force = true;
|
||||||
dracula-dark-colorscheme
|
default = "DuckDuckGo";
|
||||||
edit-with-emacs
|
order = [
|
||||||
fastforward
|
"DuckDuckGo"
|
||||||
i-dont-care-about-cookies
|
"Google"
|
||||||
multi-account-containers
|
];
|
||||||
musescore-downloader
|
engines = {
|
||||||
offline-qr-code-generator
|
"Nix Packages" = {
|
||||||
ublock-origin
|
urls = [{
|
||||||
zoom-redirector
|
template = "https://search.nixos.org/packages";
|
||||||
];
|
params = [
|
||||||
|
{ name = "type"; value = "packages"; }
|
||||||
|
{ name = "query"; value = "{searchTerms}"; }
|
||||||
|
];
|
||||||
|
}];
|
||||||
|
|
||||||
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
|
definedAliases = [ "@np" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
"NixOS Wiki" = {
|
||||||
|
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
|
||||||
|
iconUpdateURL = "https://nixos.wiki/favicon.png";
|
||||||
|
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||||
|
definedAliases = [ "@nw" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
"Bing".metaData.hidden = true;
|
||||||
|
"Google".metaData.alias = "@g"; # builtin engines only support specifying one additional alias
|
||||||
|
};
|
||||||
|
};
|
||||||
|
settings = {
|
||||||
|
"browser.startup.homepage" = "https://github.com/willemml/org-notes";
|
||||||
|
"browser.search.region" = "CA";
|
||||||
|
"browser.search.isUS" = false;
|
||||||
|
"distribution.searchplugins.defaultLocale" = "en-CA";
|
||||||
|
"general.useragent.locale" = "en-CA";
|
||||||
|
"browser.bookmarks.showMobileBookmarks" = true;
|
||||||
|
"browser.newtabpage.pinned" = [{
|
||||||
|
title = "Notes";
|
||||||
|
url = "https://github.com/willemml/org-notes";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
title = "Dotfiles";
|
||||||
|
url = "https://github.com/willemml/dotfiles.nix";
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
|
browserpass
|
||||||
|
#bypass-paywalls-clean
|
||||||
|
clearurls
|
||||||
|
don-t-fuck-with-paste
|
||||||
|
dracula-dark-colorscheme
|
||||||
|
edit-with-emacs
|
||||||
|
fastforward
|
||||||
|
i-dont-care-about-cookies
|
||||||
|
multi-account-containers
|
||||||
|
musescore-downloader
|
||||||
|
offline-qr-code-generator
|
||||||
|
ublock-origin
|
||||||
|
zoom-redirector
|
||||||
|
];
|
||||||
|
bookmarks = [
|
||||||
|
{
|
||||||
|
name = "wikipedia";
|
||||||
|
keyword = "wiki";
|
||||||
|
url = "https://en.wikipedia.org/wiki/Special:Search?search=%s&go=Go";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "kernel.org";
|
||||||
|
url = "https://www.kernel.org";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "Nix sites";
|
||||||
|
bookmarks = [
|
||||||
|
{
|
||||||
|
name = "homepage";
|
||||||
|
url = "https://nixos.org/";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "wiki";
|
||||||
|
keyword = "nixwiki";
|
||||||
|
url = "https://nixos.wiki/";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fzf = {
|
fzf = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue