summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2022-08-23 16:23:19 +0200
committerGitHub <noreply@github.com>2022-08-23 16:23:19 +0200
commit2f3c9bb364a3add2a2649f720b359ee9b8012094 (patch)
tree83b7429ba4bdbc0dc40c303a1960adc27f658fed /modules
parent5af1aa51f63d734284bf6728a21d2c9c31eb7492 (diff)
parent903eb89a07bb631688a44f3ecaf442f5d3509f9c (diff)
Merge pull request #493 from AlexOwl/patch-1
Fix brewfile behavior to allow cask_args, etc
Diffstat (limited to 'modules')
-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 " " (