bring back qutebrowser

This commit is contained in:
Rouven Seifert 2023-12-29 23:33:09 +01:00
parent ec6fefe59c
commit 218c12ecee
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
3 changed files with 43 additions and 1 deletions

View file

@ -2,13 +2,13 @@
{
imports = [
./accounts
# ./age
./foot
./git
./gpg
./helix
./wayland
./mpv
./qutebrowser
./spotify
./ssh
./theme

View file

@ -41,6 +41,7 @@
# cryptography
yubikey-manager
python311Packages.pyhanko
bitwarden-cli
# misc
neofetch # obligatory

View file

@ -0,0 +1,41 @@
{ config, ... }:
{
programs.qutebrowser = {
enable = true;
searchEngines = {
DEFAULT = "https://duckduckgo.com/?q={}";
aw = "https://wiki.archlinux.org/?search={}";
nw = "https://nixos.wiki/index.php?search={}";
ns = "https://search.nixos.org/packages?query={}";
nso = "https://search.nixos.org/options?query={}";
wp = "https://en.wikipedia.org/wiki/Special:Search?search={}";
y = "http://localhost:8090/yacysearch.html?query={}";
yt = "https://www.youtube.com/results?search_query={}";
g = "https://www.google.com/search?hl=en&q={}";
};
quickmarks = {
nix-search = "https://search.nixos.org/options?";
home-search = "https://mipmip.github.io/home-manager-option-search/";
jexam = "https://jexam.inf.tu-dresden.de";
opal = "https://bildungsportal.sachsen.de/opal/home?2";
fruitbasket = "https://github.com/fsr/fruitbasket";
};
keyBindings = {
normal = {
"<Ctrl-m>" = "hint links spawn mpv {hint-url}";
};
};
settings = {
colors.webpage = {
darkmode.enabled = false;
preferred_color_scheme = "dark";
};
content.blocking = {
enabled = true;
method = "both";
};
statusbar.show = "in-mode";
tabs.show = "switching";
};
};
}