diff options
| author | seth <[email protected]> | 2024-06-30 11:06:54 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-06-30 11:23:48 -0400 |
| commit | 428cd9ae8a694b566ab830c58bdde5dbb9493c52 (patch) | |
| tree | fd6c8d7617bc1c8ddff201d26facc69a19ec6767 /modules/darwin/desktop/homebrew.nix | |
| parent | e7bbf4dd3af908670e803c7fa385caca59d55b70 (diff) | |
darwin/desktop: streamline
Diffstat (limited to 'modules/darwin/desktop/homebrew.nix')
| -rw-r--r-- | modules/darwin/desktop/homebrew.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/darwin/desktop/homebrew.nix b/modules/darwin/desktop/homebrew.nix index 2371f57..93fe4ad 100644 --- a/modules/darwin/desktop/homebrew.nix +++ b/modules/darwin/desktop/homebrew.nix @@ -1,16 +1,15 @@ { config, lib, ... }: let cfg = config.desktop.homebrew; - enable = config.desktop.enable && cfg.enable; in { options.desktop.homebrew = { enable = lib.mkEnableOption "Homebrew integration" // { - default = true; + default = config.desktop.enable; }; }; - config = lib.mkIf enable { + config = lib.mkIf cfg.enable { homebrew = { enable = true; |
