Removed pykeepass fix, set qutebrowser max history size
This commit is contained in:
parent
48cb8e42e9
commit
964dff4d8c
|
@ -20,26 +20,27 @@ in
|
||||||
default.browser = mkIf cfg.default "org.qutebrowser.qutebrowser.desktop";
|
default.browser = mkIf cfg.default "org.qutebrowser.qutebrowser.desktop";
|
||||||
|
|
||||||
# TODO: Remove once nixpkgs updates
|
# TODO: Remove once nixpkgs updates
|
||||||
nixpkgs.config.packageOverrides = pkgs: {
|
# nixpkgs.config.packageOverrides = pkgs: {
|
||||||
python3 = pkgs.python3.override {
|
# python3 = pkgs.python3.override {
|
||||||
packageOverrides = self: super: {
|
# packageOverrides = self: super: {
|
||||||
pykeepass = super.pykeepass.overrideAttrs (attrs: {
|
# pykeepass = super.pykeepass.overrideAttrs (attrs: {
|
||||||
version = "4.1.0.post1";
|
# version = "4.1.0.post1";
|
||||||
src = pkgs.fetchFromGitHub {
|
# src = pkgs.fetchFromGitHub {
|
||||||
owner = "libkeepass";
|
# owner = "libkeepass";
|
||||||
repo = "pykeepass";
|
# repo = "pykeepass";
|
||||||
rev = "refs/tags/v4.1.0.post1";
|
# rev = "refs/tags/v4.1.0.post1";
|
||||||
hash = "sha256-64is/XoRF/kojqd4jQIAQi1od8TRhiv9uR+WNIGvP2A=";
|
# hash = "sha256-64is/XoRF/kojqd4jQIAQi1od8TRhiv9uR+WNIGvP2A=";
|
||||||
};
|
# };
|
||||||
});
|
# });
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
programs.qutebrowser = {
|
programs.qutebrowser = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
config.set("completion.web_history.max_items", 100)
|
||||||
config.set("colors.webpage.darkmode.enabled", False)
|
config.set("colors.webpage.darkmode.enabled", False)
|
||||||
config.set("colors.webpage.preferred_color_scheme", "${if theme.darkMode then "dark" else "light"}")
|
config.set("colors.webpage.preferred_color_scheme", "${if theme.darkMode then "dark" else "light"}")
|
||||||
config.set("fonts.default_family", "${theme.fonts.monospace.name}")
|
config.set("fonts.default_family", "${theme.fonts.monospace.name}")
|
||||||
|
|
Loading…
Reference in New Issue