def plist_of
import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/setting/ops.bend as Opsimport Base
636# ---- launchd files other than hidden ones, nix-darwin's own (org.nixos.*), the system's services and Determinate
637# Nix's; each is named by its content hash, as `./launch/<hash>-<file>` ----
638def plist_of(labels: List<&2, String>, +f: String) -> Bool:
639 match labels:
640 case []:
641 False{}
642 case l <> rest:
643 String.eq(l ++ ".plist", f) || plist_of(rest, f)