diff --git a/home/.chezmoiscripts/universal/run_before_04-requirements.sh.tmpl b/home/.chezmoiscripts/universal/run_before_04-requirements.sh.tmpl index c7ec7bfa..4bca4eb7 100644 --- a/home/.chezmoiscripts/universal/run_before_04-requirements.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_before_04-requirements.sh.tmpl @@ -7,8 +7,8 @@ {{ includeTemplate "universal/logg-before" }} -{{- if ne .host.distro.id "darwin" -}} {{- $packages := splitList " " (includeTemplate "universal/common-dependencies" .) -}} +{{- if ne .host.distro.id "darwin" -}} {{- $additionalPackages := splitList " " (includeTemplate (print .host.distro.id "/common-dependencies") .) -}} {{- $packages = concat $packages $additionalPackages -}} {{- end -}}