From d6cf1cff1b5cb0f1dd71efc09a5098766e43d229 Mon Sep 17 00:00:00 2001 From: khaneliman Date: Sun, 8 Jun 2025 16:27:51 +0000 Subject: [PATCH] deploy: 2835e8ba0ad99ba86d4a5e497a962ec9fa35e48f --- options.xhtml | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) diff --git a/options.xhtml b/options.xhtml index d1364002c..ad6333fca 100644 --- a/options.xhtml +++ b/options.xhtml @@ -48888,6 +48888,121 @@ attribute set of string

+
+ + programs.nyxt.enable + + +
+
+

Whether to enable Nyxt.

+ +

Type: +boolean

+ +

Default: +false

+ +

Example: +true

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/nyxt.nix> + +
+
+
+ + programs.nyxt.package + + +
+
+

The nyxt package to use.

+ +

Type: +null or package

+ +

Default: +pkgs.nyxt

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/nyxt.nix> + +
+
+
+ + programs.nyxt.config + + +
+
+

Configuration file for Nyxt, written in the Common Lisp +programming language.

+ +

Type: +strings concatenated with ā€œ\nā€ or absolute path

+ +

Default: +""

+ +

Example:

''
+  (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)
+     ))
+''
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/nyxt.nix> + +
+
programs.obs-studio.enable