15 lines
247 B
Nix
Executable file
15 lines
247 B
Nix
Executable file
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
inherit (lib) mkIf mkEnableOption;
|
|
cfg = config.browsers;
|
|
in {
|
|
options.browsers.enable = mkEnableOption "common browers";
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [vivaldi];
|
|
};
|
|
}
|