diff options
Diffstat (limited to '')
-rw-r--r-- | modules/darwin/homebrew.nix | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/darwin/homebrew.nix b/modules/darwin/homebrew.nix index 643787a..41a2c6c 100644 --- a/modules/darwin/homebrew.nix +++ b/modules/darwin/homebrew.nix @@ -1,11 +1,9 @@ -{ - config, - lib, - ... -}: -with lib; let +{ config, lib, ... }: +with lib; +let cfg = config.nixfiles.modules.homebrew; -in { +in +{ options.nixfiles.modules.homebrew.enable = mkEnableOption "Homebrew"; config = mkIf cfg.enable { |