45 lines
1.1 KiB
Nix
45 lines
1.1 KiB
Nix
|
{
|
||
|
config,
|
||
|
lib,
|
||
|
pkgs,
|
||
|
...
|
||
|
}:
|
||
|
{
|
||
|
programs.qutebrowser = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
changelog_after_upgrade = "major";
|
||
|
# confirm_quit = "downloads";
|
||
|
content = {
|
||
|
autoplay = false;
|
||
|
blocking.enabled = true;
|
||
|
cookies.accept = "no-unknown-3rdparty";
|
||
|
headers.do_not_track = true;
|
||
|
};
|
||
|
downloads.location.directory = config.xdg.userDirs.download;
|
||
|
new_instance_open_target = "tab";
|
||
|
qt.highdpi = true;
|
||
|
scrolling.smooth = true;
|
||
|
# spellcheck.languages = [ "en-GB" ];
|
||
|
tabs = {
|
||
|
last_close = "blank";
|
||
|
show = "multiple";
|
||
|
};
|
||
|
url.default_page = lib.mkDefault "about:blank";
|
||
|
window.hide_decoration = true;
|
||
|
};
|
||
|
searchEngines = {
|
||
|
w = "https://en.wikipedia.org/wiki/Special:Search?search={}&go=Go&ns0=1";
|
||
|
aw = "https://wiki.archlinux.org/?search={}";
|
||
|
nw = "https://wiki.nixos.org/index.php?search={}";
|
||
|
gh = "https://github.com/search?q={}";
|
||
|
fh = "https://flathub.org/apps/search?q={}";
|
||
|
py = "https://pypi.org/search/?q={}";
|
||
|
};
|
||
|
# quickmarks =
|
||
|
# let
|
||
|
# in
|
||
|
# { };
|
||
|
};
|
||
|
}
|