def nix_section
near-v-framework@0.4.0.0 · domain/architecture/system/deployment/nix_darwin/brew/ops.bend:101
import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/brew/ops.bend as Ops
import Base
import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/brew/type.bend as Br
101def nix_section(+xs: List<&2, Br.Brew>) -> String:
102 " homebrew.taps = [" ++ all_nix(xs, 0n, []) ++ " ];\n" ++
103 " homebrew.masApps = {" ++ all_nix(xs, 1n, mas_names(xs)) ++ " };\n" ++
104 " homebrew.brews = [" ++ all_nix(xs, 2n, []) ++ " ];\n" ++
105 " homebrew.casks = [" ++ all_nix(xs, 3n, []) ++ " ];\n" ++
106 " homebrew.extraConfig = ''\n" ++ all_nix(xs, 4n, []) ++ " '';\n"