20 lines
352 B
Nix
Executable File
20 lines
352 B
Nix
Executable File
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
isEnabled =
|
|
config.azos.qutebrowser-config.enable;
|
|
in {
|
|
options.azos.qutebrowser-config.enable = lib.mkOption {
|
|
default = true;
|
|
example = true;
|
|
type = lib.types.bool;
|
|
};
|
|
|
|
config = lib.mkIf isEnabled {
|
|
home.file.".config/qutebrowser/config.py".source = ./qutebrowser-config.py;
|
|
};
|
|
}
|