{ pkgs, ... }: { programs.qutebrowser = { # TODO: Enable again enable = pkgs.stdenv.isLinux; searchEngines = { r = "https://doc.rust-lang.org/stable/std/?search={}"; lib = "https://lib.rs/search?q={}"; nip = "https://jisho.org/search/{}"; }; settings = { tabs = { indicator.width = 3; }; fonts = { default_family = "IosevkaTerm Nerd Font"; default_size = "13px"; }; content = { canvas_reading = true; blocking.method = "both"; javascript.clipboard = "access"; }; }; # Workaround because the nix module doesn't properly handle options that expect a dict extraConfig = '' c.tabs.padding = { 'top': 5, 'bottom': 5, 'right': 10, 'left': 10 } c.statusbar.padding = { 'top': 5, 'bottom': 5, 'right': 10, 'left': 10 } ''; keyBindings = { passthrough = { "" = "mode-leave"; }; }; }; }