From c6c0fdc2fc7742e2ecc2ad735efe80c99018dfa8 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 1 Jan 2022 15:48:26 +0900 Subject: home/browser: add qutebrowser --- home/modules/profiles/browsing/default.nix | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'home/modules/profiles/browsing/default.nix') diff --git a/home/modules/profiles/browsing/default.nix b/home/modules/profiles/browsing/default.nix index 45f0ed5..fedad6f 100644 --- a/home/modules/profiles/browsing/default.nix +++ b/home/modules/profiles/browsing/default.nix @@ -8,6 +8,23 @@ in }; config = lib.mkIf cfg.enable { - home.packages = with pkgs; [ firefox lynx ]; + home.packages = with pkgs; [ firefox-wayland lynx ]; + + programs.qutebrowser = { + enable = true; + + searchEngines = { + g = "https://www.google.com/search?hl=en&q={}"; + nw = "https://nixos.wiki/index.php?search={}"; + no = "https://search.nixos.org/options?channel=unstable&from=0size=50&sort=relevance&type=packages&query={}"; + }; + + quickmarks = { + github = "https://github.com"; + sourcehut = "https://sr.ht"; + }; + + settings = import ./qutebrowser-settings.nix; + }; }; } -- cgit 1.4.1