mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-05 16:41:04 +01:00
deploy: 2835e8ba0a
This commit is contained in:
parent
a4e2db9b5d
commit
d6cf1cff1b
1 changed files with 115 additions and 0 deletions
115
options.xhtml
115
options.xhtml
|
|
@ -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">
|
||||||
|
<home-manager/modules/programs/nyxt.nix>
|
||||||
|
</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">
|
||||||
|
<home-manager/modules/programs/nyxt.nix>
|
||||||
|
</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">""</code></p>
|
||||||
|
|
||||||
|
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">''
|
||||||
|
(in-package #:nyxt-user)
|
||||||
|
|
||||||
|
(defvar *my-search-engines*
|
||||||
|
(list
|
||||||
|
(make-instance 'search-engine
|
||||||
|
:name "Google"
|
||||||
|
:shortcut "goo"
|
||||||
|
#+nyxt-4 :control-url #+nyxt-3 :search-url
|
||||||
|
"https://duckduckgo.com/?q=~a")
|
||||||
|
(make-instance 'search-engine
|
||||||
|
:name "MDN"
|
||||||
|
:shortcut "mdn"
|
||||||
|
#+nyxt-4 :control-url #+nyxt-3 :search-url
|
||||||
|
"https://developer.mozilla.org/en-US/search?q=~a")))
|
||||||
|
|
||||||
|
(define-configuration browser
|
||||||
|
((restore-session-on-startup-p nil)
|
||||||
|
(default-new-buffer-url (quri:uri "https://github.com/atlas-engineer/nyxt"))
|
||||||
|
(external-editor-program (if (member :flatpak *features*)
|
||||||
|
"flatpak-spawn --host emacsclient -r"
|
||||||
|
"emacsclient -r"))
|
||||||
|
#+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 'theme:theme
|
||||||
|
:font-family "Iosevka"
|
||||||
|
:monospace-font-family "Iosevka"))
|
||||||
|
;; 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)
|
||||||
|
))
|
||||||
|
''
|
||||||
|
</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">
|
||||||
|
<home-manager/modules/programs/nyxt.nix>
|
||||||
|
</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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue