summaryrefslogtreecommitdiff
path: root/modules/darwin/homebrew.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/darwin/homebrew.nix')
-rw-r--r--modules/darwin/homebrew.nix12
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 {