This commit is contained in:
khaneliman
2026-05-24 13:01:24 +00:00
parent c2ec8f32c9
commit 476badc312

View File

@@ -93624,6 +93624,7 @@ null or package</p>
<p>List of Vicinae extensions to install.</p><p>You can use the <code class="literal">config.lib.vicinae.mkExtension</code> and <code class="literal">config.lib.vicinae.mkRayCastExtension</code> functions to create them, like:</p><pre><code class="programlisting nix"> [
(config.lib.vicinae.mkExtension {
name = &quot;test-extension&quot;;
npmDepsHash = &quot;sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;;
src =
pkgs.fetchFromGitHub {
owner = &quot;schromp&quot;;
@@ -93637,13 +93638,17 @@ null or package</p>
name = &quot;gif-search&quot;;
sha256 = &quot;sha256-G7il8T1L+P/2mXWJsb68n4BCbVKcrrtK8GnBNxzt73Q=&quot;;
rev = &quot;4d417c2dfd86a5b2bea202d4a7b48d8eb3dbaeb1&quot;;
npmDepsHash = &quot;sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;;
})
(config.lib.vicinae.mkRayCastExtension {
name = &quot;my-local-raycast-extension&quot;;
src = ./extensions/my-local-raycast-extension;
})
],
</code></pre>
</code></pre><p>Set <code class="literal">npmDepsHash</code> when <code class="literal">src</code> is produced by a fetcher such as
<code class="literal">pkgs.fetchFromGitHub</code> or <code class="literal">pkgs.fetchgit</code>; otherwise
dependency import reads <code class="literal">package-lock.json</code> from the fetched source
during evaluation.</p>
<p><span class="emphasis"><em>Type:</em></span>
list of package</p>