mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 00:58:12 +09:00
14 lines
269 B
Nix
14 lines
269 B
Nix
{ lib, config, ... }:
|
|
let
|
|
cfg = config.my.features.application.browser;
|
|
in
|
|
{
|
|
options.my.features.application.browser = {
|
|
enable = lib.mkEnableOption "Web browser (Chrome)";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
my.applications.chrome.enable = true;
|
|
};
|
|
}
|