{ pkgs, lib, inputs ? null, ... }: { evalModel = module: (lib.evalModules { specialArgs = { inherit pkgs inputs; }; modules = [ ./data-model.nix module ]; }).config; toBash = v: lib.replaceStrings [ "\"" ] [ "\\\"" ] ( if lib.isPath v || builtins.isNull v then toString v else if lib.isString v then v else lib.strings.toJSON v ); }