Ops.flake: def of near-v-framework@0.4.0.0 Import: import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/ops.bend as Ops Lines 78-91 of near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/ops.bend: https://jend.leeeet.dev/read.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/ops.bend&start_line=78&end_line=91 import Base import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/type.bend as ND import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/service/ops.bend as SvO # `lets` are Nix bindings the jobs may use (e.g. a derivation); `config` is extra nix-darwin config lines. def flake(nd: ND.NixDarwin) -> String: match nd: case ND.NixDarwin{host, platform, +u, +logs, t, _, _, _, ss, _, _, _, lets, config}: "# Generated by V from the architecture. Do not edit.\n" ++ "{\n" ++ " inputs.nixpkgs.url = \"github:NixOS/nixpkgs/nixpkgs-unstable\";\n" ++ " inputs.nix-darwin.url = \"github:nix-darwin/nix-darwin/master\";\n" ++ " inputs.nix-darwin.inputs.nixpkgs.follows = \"nixpkgs\";\n" ++ " outputs = { nixpkgs, nix-darwin, ... }: {\n" ++ " darwinConfigurations." ++ host ++ " = nix-darwin.lib.darwinSystem {\n" ++ " system = \"" ++ platform ++ "\";\n" ++ " modules = [ ./mac.nix ({ pkgs, ... }: let\n" ++ lets ++ " in {\n" ++ config ++ tailscale_line(t) ++ SvO.jobs(ss, u, logs) ++ " }) ];\n };\n };\n}" Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/ops.bend&name=tailscale_line https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/service/ops.bend&name=jobs https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/type.bend&name=NixDarwin