mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-14 21:03:10 +01:00
bring back qutebrowser
This commit is contained in:
parent
ec6fefe59c
commit
218c12ecee
|
@ -2,13 +2,13 @@
|
|||
{
|
||||
imports = [
|
||||
./accounts
|
||||
# ./age
|
||||
./foot
|
||||
./git
|
||||
./gpg
|
||||
./helix
|
||||
./wayland
|
||||
./mpv
|
||||
./qutebrowser
|
||||
./spotify
|
||||
./ssh
|
||||
./theme
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
# cryptography
|
||||
yubikey-manager
|
||||
python311Packages.pyhanko
|
||||
bitwarden-cli
|
||||
|
||||
# misc
|
||||
neofetch # obligatory
|
||||
|
|
41
users/rouven/modules/qutebrowser/default.nix
Normal file
41
users/rouven/modules/qutebrowser/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue