27 lines
445 B
Nix
27 lines
445 B
Nix
{
|
|
config,
|
|
inputs,
|
|
lib,
|
|
pkgs,
|
|
fetchFromGitHub,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.modules.zen-browser;
|
|
in
|
|
{
|
|
imports = [
|
|
# inputs.zen-browser.homeModules.beta
|
|
# inputs.zen-browser.homeModules.twilight
|
|
inputs.zen-browser.homeModules.twilight-official
|
|
];
|
|
options.modules.zen-browser = {
|
|
enable = lib.mkEnableOption "zen";
|
|
};
|
|
config = lib.mkIf cfg.enable {
|
|
programs.zen-browser = {
|
|
enable = true;
|
|
};
|
|
};
|
|
}
|