summaryrefslogtreecommitdiff
path: root/modules/homebrew.nix
diff options
context:
space:
mode:
authorAlexOwl <AlexOwl@protonmail.com>2022-08-19 21:07:04 +0400
committerGitHub <noreply@github.com>2022-08-19 21:07:04 +0400
commit903eb89a07bb631688a44f3ecaf442f5d3509f9c (patch)
treee15d76040eb18c67b0f61b8b8067b677d2a1f80a /modules/homebrew.nix
parent80871c71edb3da76d40bdff9cae007a2a035c074 (diff)
Update homebrew.nix
Diffstat (limited to 'modules/homebrew.nix')
-rw-r--r--modules/homebrew.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/homebrew.nix b/modules/homebrew.nix
index 951d1ee..e507557 100644
--- a/modules/homebrew.nix
+++ b/modules/homebrew.nix
@@ -16,12 +16,12 @@ let
);
brewfile = pkgs.writeText "Brewfile" (
+ optionalString (cfg.extraConfig != "") ("# Extra config\n" + cfg.extraConfig) +
brewfileSection "Taps" "tap" cfg.taps +
brewfileSection "Brews" "brew" cfg.brews +
brewfileSection "Casks" "cask" cfg.casks +
masBrewfileSection cfg.masApps +
- brewfileSection "Docker containers" "whalebrew" cfg.whalebrews +
- optionalString (cfg.extraConfig != "") ("# Extra config\n" + cfg.extraConfig)
+ brewfileSection "Docker containers" "whalebrew" cfg.whalebrews
);
brew-bundle-command = concatStringsSep " " (