- firewall rule for VNC for `pc` host - `go-translate` emacs package with custom bindings - `magit-delta` to improve diffs readability with `magit` through `delta` - `fira-code-mode` enabled only in `prog-mode` - `mpv` is spawned by `qutebrowser` without waiting for video being loaded
34 lines
1.3 KiB
Nix
34 lines
1.3 KiB
Nix
{
|
|
programs.qutebrowser = {
|
|
enable = true;
|
|
searchEngines = {
|
|
DEFAULT = "https://searx.be/search?q={}&category_general=on&language=all";
|
|
w = "https://en.wikipedia.org/wiki/Special:Search?search={}&go=Go&ns0=1";
|
|
np = "https://search.nixos.org/packages?sort=relevance&type=packages&query={}";
|
|
no = "https://search.nixos.org/options?sort=relevance&type=options&query={}";
|
|
g = "https://google.com/search?q={}";
|
|
git = "https://github.com/search?q={}";
|
|
y = "https://www.youtube.com/results?search_query={}";
|
|
};
|
|
keyBindings = {
|
|
normal = {
|
|
"<Ctrl-V>" = "spawn mpv --force-window=immediate {url}";
|
|
",l" = ''config-cycle spellcheck.languages [" it-IT "] [" en-US "]'';
|
|
"<z><l>" = "spawn --userscript qute-pass --dmenu-invocation 'fuzzel -d'";
|
|
"<z><u><l>" = "spawn --userscript qute-pass --dmenu-invocation 'fuzzel -d' --username-only";
|
|
"<z><p><l>" = "spawn --userscript qute-pass --dmenu-invocation 'fuzzel -d' --password-only";
|
|
"<z><o><l>" = "spawn --userscript qute-pass --dmenu-invocation 'fuzzel -d' --otp-only";
|
|
};
|
|
};
|
|
settings = {
|
|
url.start_pages = [ "https://searx.be" ];
|
|
editor.command = [
|
|
"emacsclient"
|
|
"+{line}:{column}"
|
|
"{file}"
|
|
"-c"
|
|
];
|
|
};
|
|
};
|
|
}
|
|
|