mirror of
https://github.com/nix-community/home-manager
synced 2025-01-07 17:49:49 +01:00
47 lines
967 B
Nix
47 lines
967 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
programs.qutebrowser = {
|
||
|
enable = true;
|
||
|
|
||
|
settings = {
|
||
|
colors = {
|
||
|
hints = {
|
||
|
bg = "#000000";
|
||
|
fg = "#ffffff";
|
||
|
};
|
||
|
tabs.bar.bg = "#000000";
|
||
|
};
|
||
|
tabs.tabs_are_windows = true;
|
||
|
};
|
||
|
|
||
|
extraConfig = ''
|
||
|
# Extra qutebrowser configuration.
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
nixpkgs.overlays = [
|
||
|
(self: super: {
|
||
|
qutebrowser = pkgs.writeScriptBin "dummy-qutebrowser" "";
|
||
|
})
|
||
|
];
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileContent \
|
||
|
home-files/.config/qutebrowser/config.py \
|
||
|
${
|
||
|
pkgs.writeText "qutebrowser-expected-config.py" ''
|
||
|
c.colors.hints.bg = "#000000"
|
||
|
c.colors.hints.fg = "#ffffff"
|
||
|
c.colors.tabs.bar.bg = "#000000"
|
||
|
c.tabs.tabs_are_windows = True
|
||
|
# Extra qutebrowser configuration.
|
||
|
''
|
||
|
}
|
||
|
'';
|
||
|
};
|
||
|
}
|