Add zmenu

This commit is contained in:
muon 2025-09-24 22:08:02 +00:00
parent cb7e26983e
commit 2036170ce3
6 changed files with 223 additions and 29 deletions

View file

@ -10,6 +10,50 @@
config = lib.mkIf config.mods.desktop.development.enable {
# home.packages = with pkgs; [ i3-swallow ];
programs.nyxt = {
enable = true;
config = ''
(in-package #:nyxt-user)
(defvar *my-search-engines*
(list
(make-instance 'search-engine
:name "Searx"
:shortcut "s"
#+nyxt-4 :control-url #+nyxt-3 :search-url
""https://search.muon.host/?q=~a";")
(make-instance 'search-engine
:name "nixpkgs"
:shortcut "np"
#+nyxt-4 :control-url #+nyxt-3 :search-url
"https://search.nixos.org/packages?channel=unstable&query=~a")))
(make-instance 'search-engine
:name "nix options"
:shortcut "np"
#+nyxt-4 :control-url #+nyxt-3 :search-url
"https://search.nixos.org/options?channel=unstable&query=~a")))
(make-instance 'search-engine
:name "home-manager"
:shortcut "hm"
#+nyxt-4 :control-url #+nyxt-3 :search-url
"https://home-manager-options.extranix.com/?release=master&query=~a")))
(define-configuration browser
((restore-session-on-startup-p nil)
(default-new-buffer-url (quri:uri "https://online.bonjourr.fr/"))
(external-editor-program ("alacritty -e hx")
#+nyxt-4
(search-engine-suggestions-p nil)
#+nyxt-4
(search-engines (append %slot-default% *my-search-engines*))
))
'';
};
programs.qutebrowser = {
enable = true;