1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-05 16:41:04 +01:00
This commit is contained in:
khaneliman 2025-06-08 16:27:51 +00:00
parent a4e2db9b5d
commit d6cf1cff1b

View file

@ -48888,6 +48888,121 @@ attribute set of string</p>
</td></tr> </td></tr>
</table> </table>
</dd> </dd>
<dt>
<span class="term">
<a id="opt-programs.nyxt.enable"></a><a class="term" href="options.xhtml#opt-programs.nyxt.enable"><code class="option">programs.nyxt.enable</code>
</a>
</span>
</dt>
<dd>
<p>Whether to enable Nyxt.</p>
<p><span class="emphasis"><em>Type:</em></span>
boolean</p>
<p><span class="emphasis"><em>Default:</em></span>
<code class="literal">false</code></p>
<p><span class="emphasis"><em>Example:</em></span>
<code class="literal">true</code></p>
<p><span class="emphasis"><em>Declared by:</em></span></p>
<table border="0" summary="Simple list" class="simplelist">
<tr><td>
<code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/nyxt.nix" target="_top">
&lt;home-manager/modules/programs/nyxt.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.nyxt.package"></a><a class="term" href="options.xhtml#opt-programs.nyxt.package"><code class="option">programs.nyxt.package</code>
</a>
</span>
</dt>
<dd>
<p>The nyxt package to use.</p>
<p><span class="emphasis"><em>Type:</em></span>
null or package</p>
<p><span class="emphasis"><em>Default:</em></span>
<code class="literal">pkgs.nyxt</code></p>
<p><span class="emphasis"><em>Declared by:</em></span></p>
<table border="0" summary="Simple list" class="simplelist">
<tr><td>
<code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/nyxt.nix" target="_top">
&lt;home-manager/modules/programs/nyxt.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.nyxt.config"></a><a class="term" href="options.xhtml#opt-programs.nyxt.config"><code class="option">programs.nyxt.config</code>
</a>
</span>
</dt>
<dd>
<p>Configuration file for Nyxt, written in the Common Lisp
programming language.</p>
<p><span class="emphasis"><em>Type:</em></span>
strings concatenated with “\n” or absolute path</p>
<p><span class="emphasis"><em>Default:</em></span>
<code class="literal">&quot;&quot;</code></p>
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">&#x27;&#x27;
(in-package #:nyxt-user)
(defvar *my-search-engines*
(list
(make-instance &#x27;search-engine
:name &quot;Google&quot;
:shortcut &quot;goo&quot;
#+nyxt-4 :control-url #+nyxt-3 :search-url
&quot;https://duckduckgo.com/?q=~a&quot;)
(make-instance &#x27;search-engine
:name &quot;MDN&quot;
:shortcut &quot;mdn&quot;
#+nyxt-4 :control-url #+nyxt-3 :search-url
&quot;https://developer.mozilla.org/en-US/search?q=~a&quot;)))
(define-configuration browser
((restore-session-on-startup-p nil)
(default-new-buffer-url (quri:uri &quot;https://github.com/atlas-engineer/nyxt&quot;))
(external-editor-program (if (member :flatpak *features*)
&quot;flatpak-spawn --host emacsclient -r&quot;
&quot;emacsclient -r&quot;))
#+nyxt-4
(search-engine-suggestions-p nil)
#+nyxt-4
(search-engines (append %slot-default% *my-search-engines*))
;; Sets the font for the Nyxt UI (not for webpages).
(theme (make-instance &#x27;theme:theme
:font-family &quot;Iosevka&quot;
:monospace-font-family &quot;Iosevka&quot;))
;; Whether code sent to the socket gets executed. You must understand the
;; risks before enabling this: a privileged user with access to your system
;; can then take control of the browser and execute arbitrary code under your
;; user profile.
;; (remote-execution-p t)
))
&#x27;&#x27;
</code></pre>
<p><span class="emphasis"><em>Declared by:</em></span></p>
<table border="0" summary="Simple list" class="simplelist">
<tr><td>
<code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/nyxt.nix" target="_top">
&lt;home-manager/modules/programs/nyxt.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt> <dt>
<span class="term"> <span class="term">
<a id="opt-programs.obs-studio.enable"></a><a class="term" href="options.xhtml#opt-programs.obs-studio.enable"><code class="option">programs.obs-studio.enable</code> <a id="opt-programs.obs-studio.enable"></a><a class="term" href="options.xhtml#opt-programs.obs-studio.enable"><code class="option">programs.obs-studio.enable</code>