From 903eb89a07bb631688a44f3ecaf442f5d3509f9c Mon Sep 17 00:00:00 2001 From: AlexOwl Date: Fri, 19 Aug 2022 21:07:04 +0400 Subject: [PATCH] Update homebrew.nix --- modules/homebrew.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/homebrew.nix b/modules/homebrew.nix index 951d1ee1..e5075577 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 " " (