14 lines
385 B
Nix
14 lines
385 B
Nix
# ./generated/modules/apps/zenbrowser.nix
|
|
{ pkgs, lib, ... }:
|
|
|
|
{
|
|
# Declare the option to enable Zen Browser
|
|
options.mySystem.apps.zenBrowser.enable =
|
|
lib.mkEnableOption "Enable Zen Browser";
|
|
|
|
# Top-level config, fully self-contained
|
|
config = { config, ... }: lib.mkIf (config.mySystem.apps.zenBrowser.enable) {
|
|
environment.systemPackages = [ pkgs.zen-browser ];
|
|
};
|
|
}
|