diff options
author | tilpner | 2020-03-05 16:45:36 +0100 |
---|---|---|
committer | tilpner | 2020-03-05 16:45:36 +0100 |
commit | edd25555261c17f74580245b8305cf7edefa4267 (patch) | |
tree | 796138422abba300105ac8634fa3fe68bd30252a /nix/search.nix | |
download | firefox-profiles-edd25555261c17f74580245b8305cf7edefa4267.tar.gz firefox-profiles-edd25555261c17f74580245b8305cf7edefa4267.tar.xz firefox-profiles-edd25555261c17f74580245b8305cf7edefa4267.zip |
Initial commit
Diffstat (limited to 'nix/search.nix')
-rw-r--r-- | nix/search.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nix/search.nix b/nix/search.nix new file mode 100644 index 0000000..516463a --- /dev/null +++ b/nix/search.nix @@ -0,0 +1,28 @@ +# This tries to create a good-enough search.json.mozlz4 file, but that +# is unsupported, undocumented, and probably going to break every other release. + +{ pkgs, lib }: + +with lib; +rec { + mkSearchConfig = engines: { + version = 1; + buildID = "20200202170918"; + appVersion = "72.0.2"; + locale = "und"; # undetermined (?) + visibleDefaultEngines = [ "qwant-junior" ]; + + metaData.searchDefaultExpir = 1581600883568; + + inherit engines; + }; + + engines = { + qwantjunior = { + _name = "Qwant Junior"; + _shortName = "qwant-junior"; + _loadPath = "[other]addEngineWithDetails:qwantjunior@search.mozilla.org"; + description = "Qwant Junior"; + }; + }; +} |