More qute config

This commit is contained in:
Charlotte Van Petegem 2021-07-29 13:45:56 +02:00
parent 110481af59
commit 897f165db7
No known key found for this signature in database
GPG key ID: 019E764B7184435A
3 changed files with 12 additions and 4 deletions

6
flake.lock generated
View file

@ -42,11 +42,11 @@
},
"emacs-overlay": {
"locked": {
"lastModified": 1627492758,
"narHash": "sha256-F0MvuI2klvuJHctBxzptT2jXcTO8QydkyzmeXw7HiBI=",
"lastModified": 1627547647,
"narHash": "sha256-HHsFFt2FjhUVdPEbzWnI76D3Br3YoMye8t9ak1uBH7E=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "ddb0d59fb57b0f274a2a61881fbbad10ab79ee4c",
"rev": "99299813ca10b3e4fd96eaa3c3030cbb306dca68",
"type": "github"
},
"original": {

View file

@ -7,6 +7,10 @@
};
config = lib.mkIf config.chvp.graphical.qutebrowser.enable {
chvp.base.zfs.homeLinks = [
{ path = ".config/qutebrowser"; type = "data"; }
{ path = ".local/share/qutebrowser"; type = "cache"; }
];
home-manager.users.charlotte = { ... }: {
programs.qutebrowser = {
enable = true;
@ -26,9 +30,11 @@
confirm_quit = [ "downloads" ];
content = {
autoplay = false;
cookies.accept = "no-3rdparty";
cookies.accept = "never";
default_encoding = "utf-8";
dns_prefetch = false;
fullscreen.window = true;
javascript.enabled = false;
geolocation = false;
pdfjs = true;
};

View file

@ -135,6 +135,8 @@ in
"XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +5%";
"${modifier}+Alt+Left" = "move workspace to output left";
"${modifier}+Alt+Right" = "move workspace to output right";
# Invoke default action on top notification.
"${modifier}+n" = "exec ${pkgs.mako}/bin/makoctl invoke";
};
};
extraConfig = ''