diff options
author | tzlil <tzlils@protonmail.com> | 2023-08-07 23:22:45 +0300 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2023-08-07 23:22:45 +0300 |
commit | cc79f53510c4a766965aed1808490931bc6ade6b (patch) | |
tree | 12d03a00eb4752b56a3ac42198e70bcc5bf8c55c /mixins/firefox | |
parent | 9739580d9883c72fe879a2387c926d5985431c6d (diff) |
try to add cyberchef search engine, move vps to networkd, change website, move git to git.tzlil.net
Diffstat (limited to 'mixins/firefox')
-rw-r--r-- | mixins/firefox/absolute-minimum.nix | 3 | ||||
-rw-r--r-- | mixins/firefox/default.nix | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/mixins/firefox/absolute-minimum.nix b/mixins/firefox/absolute-minimum.nix index 3a9eb9a..579df93 100644 --- a/mixins/firefox/absolute-minimum.nix +++ b/mixins/firefox/absolute-minimum.nix @@ -27,7 +27,8 @@ in addons = cfg.firefox.profiles.${profile}.extensions; extensionPath = "extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"; - extensionsData = pkgs.runCommand "extensions.json" { + extensionsData = + pkgs.runCommand "extensions.json" { buildInputs = [ pkgs.xvfb-run pkgs.mozlz4a diff --git a/mixins/firefox/default.nix b/mixins/firefox/default.nix index 08233eb..977de28 100644 --- a/mixins/firefox/default.nix +++ b/mixins/firefox/default.nix @@ -284,6 +284,23 @@ in iconUpdateURL = "https://invidious.io/favicon.ico"; definedAliases = ["!yt"]; }; + + "Cyberchef" = { + urls = [ + { + template = ''javascript:q="%s";location.href="https://cyberchef.org/#recipe=Magic(3,false,false,\'\')&input="+btoa(q)''; + params = [ + { + name = "q"; + value = "{searchTerms}"; + } + ]; + } + ]; + + iconUpdateURL = "https://cyberchef.org/favicon.ico"; + definedAliases = ["!cc"]; + }; }; }; |