summaryrefslogtreecommitdiff
path: root/modules/darwin/desktop/homebrew.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/darwin/desktop/homebrew.nix')
-rw-r--r--modules/darwin/desktop/homebrew.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/darwin/desktop/homebrew.nix b/modules/darwin/desktop/homebrew.nix
index 1015ff9..2371f57 100644
--- a/modules/darwin/desktop/homebrew.nix
+++ b/modules/darwin/desktop/homebrew.nix
@@ -1,13 +1,13 @@
-{
- config,
- lib,
- ...
-}: let
+{ config, lib, ... }:
+let
cfg = config.desktop.homebrew;
enable = config.desktop.enable && cfg.enable;
-in {
+in
+{
options.desktop.homebrew = {
- enable = lib.mkEnableOption "Homebrew integration" // {default = true;};
+ enable = lib.mkEnableOption "Homebrew integration" // {
+ default = true;
+ };
};
config = lib.mkIf enable {