diff --git a/nodes/1_lib/default.nix b/nodes/1_lib/default.nix index b597fe9..87e2d15 100644 --- a/nodes/1_lib/default.nix +++ b/nodes/1_lib/default.nix @@ -1,204 +1,4 @@ -/* Library of low-level helper functions for nix expressions. - * - * Please implement (mostly) exhaustive unit tests - * for new functions in `./tests.nix`. - */ let - - inherit (import ./fixed-points.nix { inherit lib; }) makeExtensible; - - lib = makeExtensible (self: let - callLibs = file: import file { lib = self; }; - loadNode = (root: folder: - let - static = { - setup = builtins.fromJSON builtins.readFile ( "${root}/${folder}/static/setup.json" ); - dependencies = builtins.fromJSON builtins.readFile ( "${root}/${folder}/static/dependencies.json" ); - meta = builtins.fromJSON builtins.readFile ( "${root}/${folder}/static/meta.json" ); - }; - _nodeNames = (builtins.attrNames static.dependencies.nodes); - in - # basecase - if (builtins.length _nodeNames) == 0 - then - { - static = static; - value = import "${root}/${folder}/default.nix"; - dependencies = {}; - } - # recursive case - else - { - static = static; - value = import "${root}/${folder}/default.nix"; - dependencies.nodes = (builtins.listToAttrs - (builtins.map - (nodeName: - { - name = nodeName; - value = (loadNode root nodeName).value; - } - ) - _nodeNames - ) - ); - } - ); - in { - builtins = builtins; - - # often used, or depending on very little - trivial = callLibs ./trivial.nix; - fixedPoints = callLibs ./fixed-points.nix; - - # datatypes - attrsets = callLibs ./attrsets.nix; - lists = callLibs ./lists.nix; - strings = callLibs ./strings.nix; - stringsWithDeps = callLibs ./strings-with-deps.nix; - - # packaging - customisation = callLibs ./customisation.nix; - derivations = callLibs ./derivations.nix; - maintainers = import ../maintainers/maintainer-list.nix; - teams = callLibs ../maintainers/team-list.nix; - meta = callLibs ./meta.nix; - versions = callLibs ./versions.nix; - - # module system - modules = callLibs ./modules.nix; - options = callLibs ./options.nix; - types = callLibs ./types.nix; - - # constants - licenses = callLibs ./licenses.nix; - sourceTypes = callLibs ./source-types.nix; - systems = callLibs ./systems; - - # serialization - cli = callLibs ./cli.nix; - gvariant = callLibs ./gvariant.nix; - generators = callLibs ./generators.nix; - - # misc - asserts = callLibs ./asserts.nix; - debug = callLibs ./debug.nix; - - # domain-specific - fetchers = callLibs ./fetchers.nix; - - # Eval-time filesystem handling - path = callLibs ./path; - filesystem = callLibs ./filesystem.nix; - fileset = callLibs ./fileset; - sources = callLibs ./sources.nix; - - # back-compat aliases - platforms = self.systems.doubles; - - # linux kernel configuration - kernel = callLibs ./kernel.nix; - - inherit (builtins) add addErrorContext attrNames concatLists - deepSeq elem elemAt filter genericClosure genList getAttr - hasAttr head isAttrs isBool isInt isList isPath isString length - lessThan listToAttrs pathExists readFile replaceStrings seq - stringLength sub substring tail trace; - inherit (self.trivial) id const pipe concat or and xor bitAnd bitOr bitXor - bitNot boolToString mergeAttrs flip mapNullable inNixShell isFloat min max - importJSON importTOML warn warnIf warnIfNot throwIf throwIfNot checkListOfEnum - info showWarnings nixpkgsVersion version isInOldestRelease - mod compare splitByAndCompare - functionArgs setFunctionArgs isFunction toFunction mirrorFunctionArgs - toHexString toBaseDigits inPureEvalMode; - inherit (self.fixedPoints) fix fix' converge extends composeExtensions - composeManyExtensions makeExtensible makeExtensibleWithCustomName; - inherit (self.attrsets) attrByPath hasAttrByPath setAttrByPath - getAttrFromPath attrVals attrValues getAttrs catAttrs filterAttrs - filterAttrsRecursive foldlAttrs foldAttrs collect nameValuePair mapAttrs - mapAttrs' mapAttrsToList attrsToList concatMapAttrs mapAttrsRecursive - mapAttrsRecursiveCond genAttrs isDerivation toDerivation optionalAttrs - zipAttrsWithNames zipAttrsWith zipAttrs recursiveUpdateUntil - recursiveUpdate matchAttrs mergeAttrsList overrideExisting showAttrPath getOutput - getBin getLib getDev getMan chooseDevOutputs zipWithNames zip - recurseIntoAttrs dontRecurseIntoAttrs cartesianProduct cartesianProductOfSets - mapCartesianProduct updateManyAttrsByPath; - inherit (self.lists) singleton forEach foldr fold foldl foldl' imap0 imap1 - ifilter0 concatMap flatten remove findSingle findFirst any all count - optional optionals toList range replicate partition zipListsWith zipLists - reverseList listDfs toposort sort sortOn naturalSort compareLists take - drop sublist last init crossLists unique allUnique intersectLists - subtractLists mutuallyExclusive groupBy groupBy'; - inherit (self.strings) concatStrings concatMapStrings concatImapStrings - intersperse concatStringsSep concatMapStringsSep - concatImapStringsSep concatLines makeSearchPath makeSearchPathOutput - makeLibraryPath makeIncludePath makeBinPath optionalString - hasInfix hasPrefix hasSuffix stringToCharacters stringAsChars escape - escapeShellArg escapeShellArgs - isStorePath isStringLike - isValidPosixName toShellVar toShellVars - escapeRegex escapeURL escapeXML replaceChars lowerChars - upperChars toLower toUpper addContextFrom splitString - removePrefix removeSuffix versionOlder versionAtLeast - getName getVersion - cmakeOptionType cmakeBool cmakeFeature - mesonOption mesonBool mesonEnable - nameFromURL enableFeature enableFeatureAs withFeature - withFeatureAs fixedWidthString fixedWidthNumber - toInt toIntBase10 readPathsFromFile fileContents; - inherit (self.stringsWithDeps) textClosureList textClosureMap - noDepEntry fullDepEntry packEntry stringAfter; - inherit (self.customisation) overrideDerivation makeOverridable - callPackageWith callPackagesWith extendDerivation hydraJob - makeScope makeScopeWithSplicing makeScopeWithSplicing'; - inherit (self.derivations) lazyDerivation optionalDrvAttr; - inherit (self.meta) addMetaAttrs dontDistribute setName updateName - appendToName mapDerivationAttrset setPrio lowPrio lowPrioSet hiPrio - hiPrioSet getLicenseFromSpdxId getExe getExe'; - inherit (self.filesystem) pathType pathIsDirectory pathIsRegularFile - packagesFromDirectoryRecursive; - inherit (self.sources) cleanSourceFilter - cleanSource sourceByRegex sourceFilesBySuffices - commitIdFromGitRepo cleanSourceWith pathHasContext - canCleanSource pathIsGitRepo; - inherit (self.modules) evalModules setDefaultModuleLocation - unifyModuleSyntax applyModuleArgsIfFunction mergeModules - mergeModules' mergeOptionDecls mergeDefinitions - pushDownProperties dischargeProperties filterOverrides - sortProperties fixupOptionType mkIf mkAssert mkMerge mkOverride - mkOptionDefault mkDefault mkImageMediaOverride mkForce mkVMOverride - mkFixStrictness mkOrder mkBefore mkAfter mkAliasDefinitions - mkAliasAndWrapDefinitions fixMergeModules mkRemovedOptionModule - mkRenamedOptionModule mkRenamedOptionModuleWith - mkMergedOptionModule mkChangedOptionModule - mkAliasOptionModule mkDerivedConfig doRename - mkAliasOptionModuleMD; - inherit (self.options) isOption mkEnableOption mkSinkUndeclaredOptions - mergeDefaultOption mergeOneOption mergeEqualOption mergeUniqueOption - getValues getFiles - optionAttrSetToDocList optionAttrSetToDocList' - scrubOptionValue literalExpression literalExample - showOption showOptionWithDefLocs showFiles - unknownModule mkOption mkPackageOption mkPackageOptionMD - mdDoc literalMD; - inherit (self.types) isType setType defaultTypeMerge defaultFunctor - isOptionType mkOptionType; - inherit (self.asserts) - assertMsg assertOneOf; - inherit (self.debug) traceIf traceVal traceValFn - traceSeq traceSeqN traceValSeq - traceValSeqFn traceValSeqN traceValSeqNFn traceFnSeqN - runTests testAllTrue; - inherit (self.versions) - splitVersion; - - loadStatic = (folder: - { - setup = builtins.fromJSON ( builtins.readFile "${folder}/static/setup.json" ); - dependencies = builtins.fromJSON ( builtins.readFile "${folder}/static/dependencies.json" ); - meta = builtins.fromJSON ( builtins.readFile "${folder}/static/meta.json" ); - } - ); - loadNode = loadNode; - }); -in lib + # no "external"dependencies +in + import ./source \ No newline at end of file diff --git a/nodes/1_lib/.version b/nodes/1_lib/source/.version similarity index 100% rename from nodes/1_lib/.version rename to nodes/1_lib/source/.version diff --git a/nodes/1_lib/README.md b/nodes/1_lib/source/README.md similarity index 100% rename from nodes/1_lib/README.md rename to nodes/1_lib/source/README.md diff --git a/nodes/1_lib/ascii-table.nix b/nodes/1_lib/source/ascii-table.nix similarity index 100% rename from nodes/1_lib/ascii-table.nix rename to nodes/1_lib/source/ascii-table.nix diff --git a/nodes/1_lib/asserts.nix b/nodes/1_lib/source/asserts.nix similarity index 100% rename from nodes/1_lib/asserts.nix rename to nodes/1_lib/source/asserts.nix diff --git a/nodes/1_lib/attrsets.nix b/nodes/1_lib/source/attrsets.nix similarity index 100% rename from nodes/1_lib/attrsets.nix rename to nodes/1_lib/source/attrsets.nix diff --git a/nodes/1_lib/cli.nix b/nodes/1_lib/source/cli.nix similarity index 100% rename from nodes/1_lib/cli.nix rename to nodes/1_lib/source/cli.nix diff --git a/nodes/1_lib/customisation.nix b/nodes/1_lib/source/customisation.nix similarity index 100% rename from nodes/1_lib/customisation.nix rename to nodes/1_lib/source/customisation.nix diff --git a/nodes/1_lib/debug.nix b/nodes/1_lib/source/debug.nix similarity index 100% rename from nodes/1_lib/debug.nix rename to nodes/1_lib/source/debug.nix diff --git a/nodes/1_lib/source/default.nix b/nodes/1_lib/source/default.nix new file mode 100644 index 0000000..b597fe9 --- /dev/null +++ b/nodes/1_lib/source/default.nix @@ -0,0 +1,204 @@ +/* Library of low-level helper functions for nix expressions. + * + * Please implement (mostly) exhaustive unit tests + * for new functions in `./tests.nix`. + */ +let + + inherit (import ./fixed-points.nix { inherit lib; }) makeExtensible; + + lib = makeExtensible (self: let + callLibs = file: import file { lib = self; }; + loadNode = (root: folder: + let + static = { + setup = builtins.fromJSON builtins.readFile ( "${root}/${folder}/static/setup.json" ); + dependencies = builtins.fromJSON builtins.readFile ( "${root}/${folder}/static/dependencies.json" ); + meta = builtins.fromJSON builtins.readFile ( "${root}/${folder}/static/meta.json" ); + }; + _nodeNames = (builtins.attrNames static.dependencies.nodes); + in + # basecase + if (builtins.length _nodeNames) == 0 + then + { + static = static; + value = import "${root}/${folder}/default.nix"; + dependencies = {}; + } + # recursive case + else + { + static = static; + value = import "${root}/${folder}/default.nix"; + dependencies.nodes = (builtins.listToAttrs + (builtins.map + (nodeName: + { + name = nodeName; + value = (loadNode root nodeName).value; + } + ) + _nodeNames + ) + ); + } + ); + in { + builtins = builtins; + + # often used, or depending on very little + trivial = callLibs ./trivial.nix; + fixedPoints = callLibs ./fixed-points.nix; + + # datatypes + attrsets = callLibs ./attrsets.nix; + lists = callLibs ./lists.nix; + strings = callLibs ./strings.nix; + stringsWithDeps = callLibs ./strings-with-deps.nix; + + # packaging + customisation = callLibs ./customisation.nix; + derivations = callLibs ./derivations.nix; + maintainers = import ../maintainers/maintainer-list.nix; + teams = callLibs ../maintainers/team-list.nix; + meta = callLibs ./meta.nix; + versions = callLibs ./versions.nix; + + # module system + modules = callLibs ./modules.nix; + options = callLibs ./options.nix; + types = callLibs ./types.nix; + + # constants + licenses = callLibs ./licenses.nix; + sourceTypes = callLibs ./source-types.nix; + systems = callLibs ./systems; + + # serialization + cli = callLibs ./cli.nix; + gvariant = callLibs ./gvariant.nix; + generators = callLibs ./generators.nix; + + # misc + asserts = callLibs ./asserts.nix; + debug = callLibs ./debug.nix; + + # domain-specific + fetchers = callLibs ./fetchers.nix; + + # Eval-time filesystem handling + path = callLibs ./path; + filesystem = callLibs ./filesystem.nix; + fileset = callLibs ./fileset; + sources = callLibs ./sources.nix; + + # back-compat aliases + platforms = self.systems.doubles; + + # linux kernel configuration + kernel = callLibs ./kernel.nix; + + inherit (builtins) add addErrorContext attrNames concatLists + deepSeq elem elemAt filter genericClosure genList getAttr + hasAttr head isAttrs isBool isInt isList isPath isString length + lessThan listToAttrs pathExists readFile replaceStrings seq + stringLength sub substring tail trace; + inherit (self.trivial) id const pipe concat or and xor bitAnd bitOr bitXor + bitNot boolToString mergeAttrs flip mapNullable inNixShell isFloat min max + importJSON importTOML warn warnIf warnIfNot throwIf throwIfNot checkListOfEnum + info showWarnings nixpkgsVersion version isInOldestRelease + mod compare splitByAndCompare + functionArgs setFunctionArgs isFunction toFunction mirrorFunctionArgs + toHexString toBaseDigits inPureEvalMode; + inherit (self.fixedPoints) fix fix' converge extends composeExtensions + composeManyExtensions makeExtensible makeExtensibleWithCustomName; + inherit (self.attrsets) attrByPath hasAttrByPath setAttrByPath + getAttrFromPath attrVals attrValues getAttrs catAttrs filterAttrs + filterAttrsRecursive foldlAttrs foldAttrs collect nameValuePair mapAttrs + mapAttrs' mapAttrsToList attrsToList concatMapAttrs mapAttrsRecursive + mapAttrsRecursiveCond genAttrs isDerivation toDerivation optionalAttrs + zipAttrsWithNames zipAttrsWith zipAttrs recursiveUpdateUntil + recursiveUpdate matchAttrs mergeAttrsList overrideExisting showAttrPath getOutput + getBin getLib getDev getMan chooseDevOutputs zipWithNames zip + recurseIntoAttrs dontRecurseIntoAttrs cartesianProduct cartesianProductOfSets + mapCartesianProduct updateManyAttrsByPath; + inherit (self.lists) singleton forEach foldr fold foldl foldl' imap0 imap1 + ifilter0 concatMap flatten remove findSingle findFirst any all count + optional optionals toList range replicate partition zipListsWith zipLists + reverseList listDfs toposort sort sortOn naturalSort compareLists take + drop sublist last init crossLists unique allUnique intersectLists + subtractLists mutuallyExclusive groupBy groupBy'; + inherit (self.strings) concatStrings concatMapStrings concatImapStrings + intersperse concatStringsSep concatMapStringsSep + concatImapStringsSep concatLines makeSearchPath makeSearchPathOutput + makeLibraryPath makeIncludePath makeBinPath optionalString + hasInfix hasPrefix hasSuffix stringToCharacters stringAsChars escape + escapeShellArg escapeShellArgs + isStorePath isStringLike + isValidPosixName toShellVar toShellVars + escapeRegex escapeURL escapeXML replaceChars lowerChars + upperChars toLower toUpper addContextFrom splitString + removePrefix removeSuffix versionOlder versionAtLeast + getName getVersion + cmakeOptionType cmakeBool cmakeFeature + mesonOption mesonBool mesonEnable + nameFromURL enableFeature enableFeatureAs withFeature + withFeatureAs fixedWidthString fixedWidthNumber + toInt toIntBase10 readPathsFromFile fileContents; + inherit (self.stringsWithDeps) textClosureList textClosureMap + noDepEntry fullDepEntry packEntry stringAfter; + inherit (self.customisation) overrideDerivation makeOverridable + callPackageWith callPackagesWith extendDerivation hydraJob + makeScope makeScopeWithSplicing makeScopeWithSplicing'; + inherit (self.derivations) lazyDerivation optionalDrvAttr; + inherit (self.meta) addMetaAttrs dontDistribute setName updateName + appendToName mapDerivationAttrset setPrio lowPrio lowPrioSet hiPrio + hiPrioSet getLicenseFromSpdxId getExe getExe'; + inherit (self.filesystem) pathType pathIsDirectory pathIsRegularFile + packagesFromDirectoryRecursive; + inherit (self.sources) cleanSourceFilter + cleanSource sourceByRegex sourceFilesBySuffices + commitIdFromGitRepo cleanSourceWith pathHasContext + canCleanSource pathIsGitRepo; + inherit (self.modules) evalModules setDefaultModuleLocation + unifyModuleSyntax applyModuleArgsIfFunction mergeModules + mergeModules' mergeOptionDecls mergeDefinitions + pushDownProperties dischargeProperties filterOverrides + sortProperties fixupOptionType mkIf mkAssert mkMerge mkOverride + mkOptionDefault mkDefault mkImageMediaOverride mkForce mkVMOverride + mkFixStrictness mkOrder mkBefore mkAfter mkAliasDefinitions + mkAliasAndWrapDefinitions fixMergeModules mkRemovedOptionModule + mkRenamedOptionModule mkRenamedOptionModuleWith + mkMergedOptionModule mkChangedOptionModule + mkAliasOptionModule mkDerivedConfig doRename + mkAliasOptionModuleMD; + inherit (self.options) isOption mkEnableOption mkSinkUndeclaredOptions + mergeDefaultOption mergeOneOption mergeEqualOption mergeUniqueOption + getValues getFiles + optionAttrSetToDocList optionAttrSetToDocList' + scrubOptionValue literalExpression literalExample + showOption showOptionWithDefLocs showFiles + unknownModule mkOption mkPackageOption mkPackageOptionMD + mdDoc literalMD; + inherit (self.types) isType setType defaultTypeMerge defaultFunctor + isOptionType mkOptionType; + inherit (self.asserts) + assertMsg assertOneOf; + inherit (self.debug) traceIf traceVal traceValFn + traceSeq traceSeqN traceValSeq + traceValSeqFn traceValSeqN traceValSeqNFn traceFnSeqN + runTests testAllTrue; + inherit (self.versions) + splitVersion; + + loadStatic = (folder: + { + setup = builtins.fromJSON ( builtins.readFile "${folder}/static/setup.json" ); + dependencies = builtins.fromJSON ( builtins.readFile "${folder}/static/dependencies.json" ); + meta = builtins.fromJSON ( builtins.readFile "${folder}/static/meta.json" ); + } + ); + loadNode = loadNode; + }); +in lib diff --git a/nodes/1_lib/deprecated.nix b/nodes/1_lib/source/deprecated.nix similarity index 100% rename from nodes/1_lib/deprecated.nix rename to nodes/1_lib/source/deprecated.nix diff --git a/nodes/1_lib/deprecated/README.md b/nodes/1_lib/source/deprecated/README.md similarity index 100% rename from nodes/1_lib/deprecated/README.md rename to nodes/1_lib/source/deprecated/README.md diff --git a/nodes/1_lib/deprecated/misc.nix b/nodes/1_lib/source/deprecated/misc.nix similarity index 100% rename from nodes/1_lib/deprecated/misc.nix rename to nodes/1_lib/source/deprecated/misc.nix diff --git a/nodes/1_lib/derivations.nix b/nodes/1_lib/source/derivations.nix similarity index 100% rename from nodes/1_lib/derivations.nix rename to nodes/1_lib/source/derivations.nix diff --git a/nodes/1_lib/fetchers.nix b/nodes/1_lib/source/fetchers.nix similarity index 100% rename from nodes/1_lib/fetchers.nix rename to nodes/1_lib/source/fetchers.nix diff --git a/nodes/1_lib/fileset/README.md b/nodes/1_lib/source/fileset/README.md similarity index 100% rename from nodes/1_lib/fileset/README.md rename to nodes/1_lib/source/fileset/README.md diff --git a/nodes/1_lib/fileset/benchmark.sh b/nodes/1_lib/source/fileset/benchmark.sh similarity index 100% rename from nodes/1_lib/fileset/benchmark.sh rename to nodes/1_lib/source/fileset/benchmark.sh diff --git a/nodes/1_lib/fileset/default.nix b/nodes/1_lib/source/fileset/default.nix similarity index 100% rename from nodes/1_lib/fileset/default.nix rename to nodes/1_lib/source/fileset/default.nix diff --git a/nodes/1_lib/fileset/internal.nix b/nodes/1_lib/source/fileset/internal.nix similarity index 100% rename from nodes/1_lib/fileset/internal.nix rename to nodes/1_lib/source/fileset/internal.nix diff --git a/nodes/1_lib/fileset/mock-splitRoot.nix b/nodes/1_lib/source/fileset/mock-splitRoot.nix similarity index 100% rename from nodes/1_lib/fileset/mock-splitRoot.nix rename to nodes/1_lib/source/fileset/mock-splitRoot.nix diff --git a/nodes/1_lib/fileset/tests.sh b/nodes/1_lib/source/fileset/tests.sh similarity index 100% rename from nodes/1_lib/fileset/tests.sh rename to nodes/1_lib/source/fileset/tests.sh diff --git a/nodes/1_lib/filesystem.nix b/nodes/1_lib/source/filesystem.nix similarity index 100% rename from nodes/1_lib/filesystem.nix rename to nodes/1_lib/source/filesystem.nix diff --git a/nodes/1_lib/fixed-points.nix b/nodes/1_lib/source/fixed-points.nix similarity index 100% rename from nodes/1_lib/fixed-points.nix rename to nodes/1_lib/source/fixed-points.nix diff --git a/nodes/1_lib/flake-version-info.nix b/nodes/1_lib/source/flake-version-info.nix similarity index 100% rename from nodes/1_lib/flake-version-info.nix rename to nodes/1_lib/source/flake-version-info.nix diff --git a/nodes/1_lib/flake.nix b/nodes/1_lib/source/flake.nix similarity index 100% rename from nodes/1_lib/flake.nix rename to nodes/1_lib/source/flake.nix diff --git a/nodes/1_lib/flakes.nix b/nodes/1_lib/source/flakes.nix similarity index 100% rename from nodes/1_lib/flakes.nix rename to nodes/1_lib/source/flakes.nix diff --git a/nodes/1_lib/generators.nix b/nodes/1_lib/source/generators.nix similarity index 100% rename from nodes/1_lib/generators.nix rename to nodes/1_lib/source/generators.nix diff --git a/nodes/1_lib/gvariant.nix b/nodes/1_lib/source/gvariant.nix similarity index 100% rename from nodes/1_lib/gvariant.nix rename to nodes/1_lib/source/gvariant.nix diff --git a/nodes/1_lib/kernel.nix b/nodes/1_lib/source/kernel.nix similarity index 100% rename from nodes/1_lib/kernel.nix rename to nodes/1_lib/source/kernel.nix diff --git a/nodes/1_lib/licenses.nix b/nodes/1_lib/source/licenses.nix similarity index 100% rename from nodes/1_lib/licenses.nix rename to nodes/1_lib/source/licenses.nix diff --git a/nodes/1_lib/lists.nix b/nodes/1_lib/source/lists.nix similarity index 100% rename from nodes/1_lib/lists.nix rename to nodes/1_lib/source/lists.nix diff --git a/nodes/1_lib/meta.nix b/nodes/1_lib/source/meta.nix similarity index 100% rename from nodes/1_lib/meta.nix rename to nodes/1_lib/source/meta.nix diff --git a/nodes/1_lib/minver.nix b/nodes/1_lib/source/minver.nix similarity index 100% rename from nodes/1_lib/minver.nix rename to nodes/1_lib/source/minver.nix diff --git a/nodes/1_lib/modules.nix b/nodes/1_lib/source/modules.nix similarity index 100% rename from nodes/1_lib/modules.nix rename to nodes/1_lib/source/modules.nix diff --git a/nodes/1_lib/options.nix b/nodes/1_lib/source/options.nix similarity index 100% rename from nodes/1_lib/options.nix rename to nodes/1_lib/source/options.nix diff --git a/nodes/1_lib/path/README.md b/nodes/1_lib/source/path/README.md similarity index 100% rename from nodes/1_lib/path/README.md rename to nodes/1_lib/source/path/README.md diff --git a/nodes/1_lib/path/default.nix b/nodes/1_lib/source/path/default.nix similarity index 100% rename from nodes/1_lib/path/default.nix rename to nodes/1_lib/source/path/default.nix diff --git a/nodes/1_lib/path/tests/default.nix b/nodes/1_lib/source/path/tests/default.nix similarity index 100% rename from nodes/1_lib/path/tests/default.nix rename to nodes/1_lib/source/path/tests/default.nix diff --git a/nodes/1_lib/path/tests/generate.awk b/nodes/1_lib/source/path/tests/generate.awk similarity index 100% rename from nodes/1_lib/path/tests/generate.awk rename to nodes/1_lib/source/path/tests/generate.awk diff --git a/nodes/1_lib/path/tests/prop.nix b/nodes/1_lib/source/path/tests/prop.nix similarity index 100% rename from nodes/1_lib/path/tests/prop.nix rename to nodes/1_lib/source/path/tests/prop.nix diff --git a/nodes/1_lib/path/tests/prop.sh b/nodes/1_lib/source/path/tests/prop.sh similarity index 100% rename from nodes/1_lib/path/tests/prop.sh rename to nodes/1_lib/source/path/tests/prop.sh diff --git a/nodes/1_lib/path/tests/unit.nix b/nodes/1_lib/source/path/tests/unit.nix similarity index 100% rename from nodes/1_lib/path/tests/unit.nix rename to nodes/1_lib/source/path/tests/unit.nix diff --git a/nodes/1_lib/source-types.nix b/nodes/1_lib/source/source-types.nix similarity index 100% rename from nodes/1_lib/source-types.nix rename to nodes/1_lib/source/source-types.nix diff --git a/nodes/1_lib/sources.nix b/nodes/1_lib/source/sources.nix similarity index 100% rename from nodes/1_lib/sources.nix rename to nodes/1_lib/source/sources.nix diff --git a/nodes/1_lib/strings-with-deps.nix b/nodes/1_lib/source/strings-with-deps.nix similarity index 100% rename from nodes/1_lib/strings-with-deps.nix rename to nodes/1_lib/source/strings-with-deps.nix diff --git a/nodes/1_lib/strings.nix b/nodes/1_lib/source/strings.nix similarity index 100% rename from nodes/1_lib/strings.nix rename to nodes/1_lib/source/strings.nix diff --git a/nodes/1_lib/systems/architectures.nix b/nodes/1_lib/source/systems/architectures.nix similarity index 100% rename from nodes/1_lib/systems/architectures.nix rename to nodes/1_lib/source/systems/architectures.nix diff --git a/nodes/1_lib/systems/default.nix b/nodes/1_lib/source/systems/default.nix similarity index 100% rename from nodes/1_lib/systems/default.nix rename to nodes/1_lib/source/systems/default.nix diff --git a/nodes/1_lib/systems/doubles.nix b/nodes/1_lib/source/systems/doubles.nix similarity index 100% rename from nodes/1_lib/systems/doubles.nix rename to nodes/1_lib/source/systems/doubles.nix diff --git a/nodes/1_lib/systems/examples.nix b/nodes/1_lib/source/systems/examples.nix similarity index 100% rename from nodes/1_lib/systems/examples.nix rename to nodes/1_lib/source/systems/examples.nix diff --git a/nodes/1_lib/systems/flake-systems.nix b/nodes/1_lib/source/systems/flake-systems.nix similarity index 100% rename from nodes/1_lib/systems/flake-systems.nix rename to nodes/1_lib/source/systems/flake-systems.nix diff --git a/nodes/1_lib/systems/inspect.nix b/nodes/1_lib/source/systems/inspect.nix similarity index 100% rename from nodes/1_lib/systems/inspect.nix rename to nodes/1_lib/source/systems/inspect.nix diff --git a/nodes/1_lib/systems/parse.nix b/nodes/1_lib/source/systems/parse.nix similarity index 100% rename from nodes/1_lib/systems/parse.nix rename to nodes/1_lib/source/systems/parse.nix diff --git a/nodes/1_lib/systems/platforms.nix b/nodes/1_lib/source/systems/platforms.nix similarity index 100% rename from nodes/1_lib/systems/platforms.nix rename to nodes/1_lib/source/systems/platforms.nix diff --git a/nodes/1_lib/systems/supported.nix b/nodes/1_lib/source/systems/supported.nix similarity index 100% rename from nodes/1_lib/systems/supported.nix rename to nodes/1_lib/source/systems/supported.nix diff --git a/nodes/1_lib/tests/check-eval.nix b/nodes/1_lib/source/tests/check-eval.nix similarity index 100% rename from nodes/1_lib/tests/check-eval.nix rename to nodes/1_lib/source/tests/check-eval.nix diff --git a/nodes/1_lib/tests/filesystem.sh b/nodes/1_lib/source/tests/filesystem.sh similarity index 100% rename from nodes/1_lib/tests/filesystem.sh rename to nodes/1_lib/source/tests/filesystem.sh diff --git a/nodes/1_lib/tests/flakes/subflakeTest/flake.nix b/nodes/1_lib/source/tests/flakes/subflakeTest/flake.nix similarity index 100% rename from nodes/1_lib/tests/flakes/subflakeTest/flake.nix rename to nodes/1_lib/source/tests/flakes/subflakeTest/flake.nix diff --git a/nodes/1_lib/tests/flakes/subflakeTest/subflake/flake.nix b/nodes/1_lib/source/tests/flakes/subflakeTest/subflake/flake.nix similarity index 100% rename from nodes/1_lib/tests/flakes/subflakeTest/subflake/flake.nix rename to nodes/1_lib/source/tests/flakes/subflakeTest/subflake/flake.nix diff --git a/nodes/1_lib/tests/maintainer-module.nix b/nodes/1_lib/source/tests/maintainer-module.nix similarity index 100% rename from nodes/1_lib/tests/maintainer-module.nix rename to nodes/1_lib/source/tests/maintainer-module.nix diff --git a/nodes/1_lib/tests/maintainers.nix b/nodes/1_lib/source/tests/maintainers.nix similarity index 100% rename from nodes/1_lib/tests/maintainers.nix rename to nodes/1_lib/source/tests/maintainers.nix diff --git a/nodes/1_lib/tests/misc.nix b/nodes/1_lib/source/tests/misc.nix similarity index 100% rename from nodes/1_lib/tests/misc.nix rename to nodes/1_lib/source/tests/misc.nix diff --git a/nodes/1_lib/tests/modules.sh b/nodes/1_lib/source/tests/modules.sh similarity index 100% rename from nodes/1_lib/tests/modules.sh rename to nodes/1_lib/source/tests/modules.sh diff --git a/nodes/1_lib/tests/modules/adhoc-freeformType-survives-type-merge.nix b/nodes/1_lib/source/tests/modules/adhoc-freeformType-survives-type-merge.nix similarity index 100% rename from nodes/1_lib/tests/modules/adhoc-freeformType-survives-type-merge.nix rename to nodes/1_lib/source/tests/modules/adhoc-freeformType-survives-type-merge.nix diff --git a/nodes/1_lib/tests/modules/alias-with-priority-can-override.nix b/nodes/1_lib/source/tests/modules/alias-with-priority-can-override.nix similarity index 100% rename from nodes/1_lib/tests/modules/alias-with-priority-can-override.nix rename to nodes/1_lib/source/tests/modules/alias-with-priority-can-override.nix diff --git a/nodes/1_lib/tests/modules/alias-with-priority.nix b/nodes/1_lib/source/tests/modules/alias-with-priority.nix similarity index 100% rename from nodes/1_lib/tests/modules/alias-with-priority.nix rename to nodes/1_lib/source/tests/modules/alias-with-priority.nix diff --git a/nodes/1_lib/tests/modules/attrsOf-conditional-check.nix b/nodes/1_lib/source/tests/modules/attrsOf-conditional-check.nix similarity index 100% rename from nodes/1_lib/tests/modules/attrsOf-conditional-check.nix rename to nodes/1_lib/source/tests/modules/attrsOf-conditional-check.nix diff --git a/nodes/1_lib/tests/modules/attrsOf-lazy-check.nix b/nodes/1_lib/source/tests/modules/attrsOf-lazy-check.nix similarity index 100% rename from nodes/1_lib/tests/modules/attrsOf-lazy-check.nix rename to nodes/1_lib/source/tests/modules/attrsOf-lazy-check.nix diff --git a/nodes/1_lib/tests/modules/boolByOr.nix b/nodes/1_lib/source/tests/modules/boolByOr.nix similarity index 100% rename from nodes/1_lib/tests/modules/boolByOr.nix rename to nodes/1_lib/source/tests/modules/boolByOr.nix diff --git a/nodes/1_lib/tests/modules/class-check.nix b/nodes/1_lib/source/tests/modules/class-check.nix similarity index 100% rename from nodes/1_lib/tests/modules/class-check.nix rename to nodes/1_lib/source/tests/modules/class-check.nix diff --git a/nodes/1_lib/tests/modules/declaration-positions.nix b/nodes/1_lib/source/tests/modules/declaration-positions.nix similarity index 100% rename from nodes/1_lib/tests/modules/declaration-positions.nix rename to nodes/1_lib/source/tests/modules/declaration-positions.nix diff --git a/nodes/1_lib/tests/modules/declare-attrsOf.nix b/nodes/1_lib/source/tests/modules/declare-attrsOf.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-attrsOf.nix rename to nodes/1_lib/source/tests/modules/declare-attrsOf.nix diff --git a/nodes/1_lib/tests/modules/declare-attrsOfSub-any-enable.nix b/nodes/1_lib/source/tests/modules/declare-attrsOfSub-any-enable.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-attrsOfSub-any-enable.nix rename to nodes/1_lib/source/tests/modules/declare-attrsOfSub-any-enable.nix diff --git a/nodes/1_lib/tests/modules/declare-bare-submodule-deep-option-duplicate.nix b/nodes/1_lib/source/tests/modules/declare-bare-submodule-deep-option-duplicate.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-bare-submodule-deep-option-duplicate.nix rename to nodes/1_lib/source/tests/modules/declare-bare-submodule-deep-option-duplicate.nix diff --git a/nodes/1_lib/tests/modules/declare-bare-submodule-deep-option.nix b/nodes/1_lib/source/tests/modules/declare-bare-submodule-deep-option.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-bare-submodule-deep-option.nix rename to nodes/1_lib/source/tests/modules/declare-bare-submodule-deep-option.nix diff --git a/nodes/1_lib/tests/modules/declare-bare-submodule-nested-option.nix b/nodes/1_lib/source/tests/modules/declare-bare-submodule-nested-option.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-bare-submodule-nested-option.nix rename to nodes/1_lib/source/tests/modules/declare-bare-submodule-nested-option.nix diff --git a/nodes/1_lib/tests/modules/declare-bare-submodule.nix b/nodes/1_lib/source/tests/modules/declare-bare-submodule.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-bare-submodule.nix rename to nodes/1_lib/source/tests/modules/declare-bare-submodule.nix diff --git a/nodes/1_lib/tests/modules/declare-coerced-value-unsound.nix b/nodes/1_lib/source/tests/modules/declare-coerced-value-unsound.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-coerced-value-unsound.nix rename to nodes/1_lib/source/tests/modules/declare-coerced-value-unsound.nix diff --git a/nodes/1_lib/tests/modules/declare-coerced-value.nix b/nodes/1_lib/source/tests/modules/declare-coerced-value.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-coerced-value.nix rename to nodes/1_lib/source/tests/modules/declare-coerced-value.nix diff --git a/nodes/1_lib/tests/modules/declare-either.nix b/nodes/1_lib/source/tests/modules/declare-either.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-either.nix rename to nodes/1_lib/source/tests/modules/declare-either.nix diff --git a/nodes/1_lib/tests/modules/declare-enable-nested.nix b/nodes/1_lib/source/tests/modules/declare-enable-nested.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-enable-nested.nix rename to nodes/1_lib/source/tests/modules/declare-enable-nested.nix diff --git a/nodes/1_lib/tests/modules/declare-enable.nix b/nodes/1_lib/source/tests/modules/declare-enable.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-enable.nix rename to nodes/1_lib/source/tests/modules/declare-enable.nix diff --git a/nodes/1_lib/tests/modules/declare-int-between-value.nix b/nodes/1_lib/source/tests/modules/declare-int-between-value.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-int-between-value.nix rename to nodes/1_lib/source/tests/modules/declare-int-between-value.nix diff --git a/nodes/1_lib/tests/modules/declare-int-positive-value-nested.nix b/nodes/1_lib/source/tests/modules/declare-int-positive-value-nested.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-int-positive-value-nested.nix rename to nodes/1_lib/source/tests/modules/declare-int-positive-value-nested.nix diff --git a/nodes/1_lib/tests/modules/declare-int-positive-value.nix b/nodes/1_lib/source/tests/modules/declare-int-positive-value.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-int-positive-value.nix rename to nodes/1_lib/source/tests/modules/declare-int-positive-value.nix diff --git a/nodes/1_lib/tests/modules/declare-int-unsigned-value.nix b/nodes/1_lib/source/tests/modules/declare-int-unsigned-value.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-int-unsigned-value.nix rename to nodes/1_lib/source/tests/modules/declare-int-unsigned-value.nix diff --git a/nodes/1_lib/tests/modules/declare-lazyAttrsOf.nix b/nodes/1_lib/source/tests/modules/declare-lazyAttrsOf.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-lazyAttrsOf.nix rename to nodes/1_lib/source/tests/modules/declare-lazyAttrsOf.nix diff --git a/nodes/1_lib/tests/modules/declare-mkPackageOption.nix b/nodes/1_lib/source/tests/modules/declare-mkPackageOption.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-mkPackageOption.nix rename to nodes/1_lib/source/tests/modules/declare-mkPackageOption.nix diff --git a/nodes/1_lib/tests/modules/declare-oneOf.nix b/nodes/1_lib/source/tests/modules/declare-oneOf.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-oneOf.nix rename to nodes/1_lib/source/tests/modules/declare-oneOf.nix diff --git a/nodes/1_lib/tests/modules/declare-set.nix b/nodes/1_lib/source/tests/modules/declare-set.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-set.nix rename to nodes/1_lib/source/tests/modules/declare-set.nix diff --git a/nodes/1_lib/tests/modules/declare-submodule-via-evalModules.nix b/nodes/1_lib/source/tests/modules/declare-submodule-via-evalModules.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-submodule-via-evalModules.nix rename to nodes/1_lib/source/tests/modules/declare-submodule-via-evalModules.nix diff --git a/nodes/1_lib/tests/modules/declare-submoduleWith-modules.nix b/nodes/1_lib/source/tests/modules/declare-submoduleWith-modules.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-submoduleWith-modules.nix rename to nodes/1_lib/source/tests/modules/declare-submoduleWith-modules.nix diff --git a/nodes/1_lib/tests/modules/declare-submoduleWith-noshorthand.nix b/nodes/1_lib/source/tests/modules/declare-submoduleWith-noshorthand.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-submoduleWith-noshorthand.nix rename to nodes/1_lib/source/tests/modules/declare-submoduleWith-noshorthand.nix diff --git a/nodes/1_lib/tests/modules/declare-submoduleWith-path.nix b/nodes/1_lib/source/tests/modules/declare-submoduleWith-path.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-submoduleWith-path.nix rename to nodes/1_lib/source/tests/modules/declare-submoduleWith-path.nix diff --git a/nodes/1_lib/tests/modules/declare-submoduleWith-shorthand.nix b/nodes/1_lib/source/tests/modules/declare-submoduleWith-shorthand.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-submoduleWith-shorthand.nix rename to nodes/1_lib/source/tests/modules/declare-submoduleWith-shorthand.nix diff --git a/nodes/1_lib/tests/modules/declare-submoduleWith-special.nix b/nodes/1_lib/source/tests/modules/declare-submoduleWith-special.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-submoduleWith-special.nix rename to nodes/1_lib/source/tests/modules/declare-submoduleWith-special.nix diff --git a/nodes/1_lib/tests/modules/declare-variants.nix b/nodes/1_lib/source/tests/modules/declare-variants.nix similarity index 100% rename from nodes/1_lib/tests/modules/declare-variants.nix rename to nodes/1_lib/source/tests/modules/declare-variants.nix diff --git a/nodes/1_lib/tests/modules/default.nix b/nodes/1_lib/source/tests/modules/default.nix similarity index 100% rename from nodes/1_lib/tests/modules/default.nix rename to nodes/1_lib/source/tests/modules/default.nix diff --git a/nodes/1_lib/tests/modules/deferred-module-error.nix b/nodes/1_lib/source/tests/modules/deferred-module-error.nix similarity index 100% rename from nodes/1_lib/tests/modules/deferred-module-error.nix rename to nodes/1_lib/source/tests/modules/deferred-module-error.nix diff --git a/nodes/1_lib/tests/modules/deferred-module.nix b/nodes/1_lib/source/tests/modules/deferred-module.nix similarity index 100% rename from nodes/1_lib/tests/modules/deferred-module.nix rename to nodes/1_lib/source/tests/modules/deferred-module.nix diff --git a/nodes/1_lib/tests/modules/define-_module-args-custom.nix b/nodes/1_lib/source/tests/modules/define-_module-args-custom.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-_module-args-custom.nix rename to nodes/1_lib/source/tests/modules/define-_module-args-custom.nix diff --git a/nodes/1_lib/tests/modules/define-attrsOfSub-bar-enable.nix b/nodes/1_lib/source/tests/modules/define-attrsOfSub-bar-enable.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-attrsOfSub-bar-enable.nix rename to nodes/1_lib/source/tests/modules/define-attrsOfSub-bar-enable.nix diff --git a/nodes/1_lib/tests/modules/define-attrsOfSub-bar.nix b/nodes/1_lib/source/tests/modules/define-attrsOfSub-bar.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-attrsOfSub-bar.nix rename to nodes/1_lib/source/tests/modules/define-attrsOfSub-bar.nix diff --git a/nodes/1_lib/tests/modules/define-attrsOfSub-foo-enable-force.nix b/nodes/1_lib/source/tests/modules/define-attrsOfSub-foo-enable-force.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-attrsOfSub-foo-enable-force.nix rename to nodes/1_lib/source/tests/modules/define-attrsOfSub-foo-enable-force.nix diff --git a/nodes/1_lib/tests/modules/define-attrsOfSub-foo-enable-if.nix b/nodes/1_lib/source/tests/modules/define-attrsOfSub-foo-enable-if.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-attrsOfSub-foo-enable-if.nix rename to nodes/1_lib/source/tests/modules/define-attrsOfSub-foo-enable-if.nix diff --git a/nodes/1_lib/tests/modules/define-attrsOfSub-foo-enable.nix b/nodes/1_lib/source/tests/modules/define-attrsOfSub-foo-enable.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-attrsOfSub-foo-enable.nix rename to nodes/1_lib/source/tests/modules/define-attrsOfSub-foo-enable.nix diff --git a/nodes/1_lib/tests/modules/define-attrsOfSub-foo-force-enable.nix b/nodes/1_lib/source/tests/modules/define-attrsOfSub-foo-force-enable.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-attrsOfSub-foo-force-enable.nix rename to nodes/1_lib/source/tests/modules/define-attrsOfSub-foo-force-enable.nix diff --git a/nodes/1_lib/tests/modules/define-attrsOfSub-foo-if-enable.nix b/nodes/1_lib/source/tests/modules/define-attrsOfSub-foo-if-enable.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-attrsOfSub-foo-if-enable.nix rename to nodes/1_lib/source/tests/modules/define-attrsOfSub-foo-if-enable.nix diff --git a/nodes/1_lib/tests/modules/define-attrsOfSub-foo.nix b/nodes/1_lib/source/tests/modules/define-attrsOfSub-foo.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-attrsOfSub-foo.nix rename to nodes/1_lib/source/tests/modules/define-attrsOfSub-foo.nix diff --git a/nodes/1_lib/tests/modules/define-attrsOfSub-force-foo-enable.nix b/nodes/1_lib/source/tests/modules/define-attrsOfSub-force-foo-enable.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-attrsOfSub-force-foo-enable.nix rename to nodes/1_lib/source/tests/modules/define-attrsOfSub-force-foo-enable.nix diff --git a/nodes/1_lib/tests/modules/define-attrsOfSub-if-foo-enable.nix b/nodes/1_lib/source/tests/modules/define-attrsOfSub-if-foo-enable.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-attrsOfSub-if-foo-enable.nix rename to nodes/1_lib/source/tests/modules/define-attrsOfSub-if-foo-enable.nix diff --git a/nodes/1_lib/tests/modules/define-bare-submodule-values.nix b/nodes/1_lib/source/tests/modules/define-bare-submodule-values.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-bare-submodule-values.nix rename to nodes/1_lib/source/tests/modules/define-bare-submodule-values.nix diff --git a/nodes/1_lib/tests/modules/define-enable-abort.nix b/nodes/1_lib/source/tests/modules/define-enable-abort.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-enable-abort.nix rename to nodes/1_lib/source/tests/modules/define-enable-abort.nix diff --git a/nodes/1_lib/tests/modules/define-enable-force.nix b/nodes/1_lib/source/tests/modules/define-enable-force.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-enable-force.nix rename to nodes/1_lib/source/tests/modules/define-enable-force.nix diff --git a/nodes/1_lib/tests/modules/define-enable-throw.nix b/nodes/1_lib/source/tests/modules/define-enable-throw.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-enable-throw.nix rename to nodes/1_lib/source/tests/modules/define-enable-throw.nix diff --git a/nodes/1_lib/tests/modules/define-enable-with-custom-arg.nix b/nodes/1_lib/source/tests/modules/define-enable-with-custom-arg.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-enable-with-custom-arg.nix rename to nodes/1_lib/source/tests/modules/define-enable-with-custom-arg.nix diff --git a/nodes/1_lib/tests/modules/define-enable-with-top-level-mkIf.nix b/nodes/1_lib/source/tests/modules/define-enable-with-top-level-mkIf.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-enable-with-top-level-mkIf.nix rename to nodes/1_lib/source/tests/modules/define-enable-with-top-level-mkIf.nix diff --git a/nodes/1_lib/tests/modules/define-enable.nix b/nodes/1_lib/source/tests/modules/define-enable.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-enable.nix rename to nodes/1_lib/source/tests/modules/define-enable.nix diff --git a/nodes/1_lib/tests/modules/define-force-attrsOfSub-foo-enable.nix b/nodes/1_lib/source/tests/modules/define-force-attrsOfSub-foo-enable.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-force-attrsOfSub-foo-enable.nix rename to nodes/1_lib/source/tests/modules/define-force-attrsOfSub-foo-enable.nix diff --git a/nodes/1_lib/tests/modules/define-force-enable.nix b/nodes/1_lib/source/tests/modules/define-force-enable.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-force-enable.nix rename to nodes/1_lib/source/tests/modules/define-force-enable.nix diff --git a/nodes/1_lib/tests/modules/define-freeform-keywords-shorthand.nix b/nodes/1_lib/source/tests/modules/define-freeform-keywords-shorthand.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-freeform-keywords-shorthand.nix rename to nodes/1_lib/source/tests/modules/define-freeform-keywords-shorthand.nix diff --git a/nodes/1_lib/tests/modules/define-if-attrsOfSub-foo-enable.nix b/nodes/1_lib/source/tests/modules/define-if-attrsOfSub-foo-enable.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-if-attrsOfSub-foo-enable.nix rename to nodes/1_lib/source/tests/modules/define-if-attrsOfSub-foo-enable.nix diff --git a/nodes/1_lib/tests/modules/define-module-check.nix b/nodes/1_lib/source/tests/modules/define-module-check.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-module-check.nix rename to nodes/1_lib/source/tests/modules/define-module-check.nix diff --git a/nodes/1_lib/tests/modules/define-option-dependently-nested.nix b/nodes/1_lib/source/tests/modules/define-option-dependently-nested.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-option-dependently-nested.nix rename to nodes/1_lib/source/tests/modules/define-option-dependently-nested.nix diff --git a/nodes/1_lib/tests/modules/define-option-dependently.nix b/nodes/1_lib/source/tests/modules/define-option-dependently.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-option-dependently.nix rename to nodes/1_lib/source/tests/modules/define-option-dependently.nix diff --git a/nodes/1_lib/tests/modules/define-settingsDict-a-is-b.nix b/nodes/1_lib/source/tests/modules/define-settingsDict-a-is-b.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-settingsDict-a-is-b.nix rename to nodes/1_lib/source/tests/modules/define-settingsDict-a-is-b.nix diff --git a/nodes/1_lib/tests/modules/define-shorthandOnlyDefinesConfig-true.nix b/nodes/1_lib/source/tests/modules/define-shorthandOnlyDefinesConfig-true.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-shorthandOnlyDefinesConfig-true.nix rename to nodes/1_lib/source/tests/modules/define-shorthandOnlyDefinesConfig-true.nix diff --git a/nodes/1_lib/tests/modules/define-submoduleWith-noshorthand.nix b/nodes/1_lib/source/tests/modules/define-submoduleWith-noshorthand.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-submoduleWith-noshorthand.nix rename to nodes/1_lib/source/tests/modules/define-submoduleWith-noshorthand.nix diff --git a/nodes/1_lib/tests/modules/define-submoduleWith-shorthand.nix b/nodes/1_lib/source/tests/modules/define-submoduleWith-shorthand.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-submoduleWith-shorthand.nix rename to nodes/1_lib/source/tests/modules/define-submoduleWith-shorthand.nix diff --git a/nodes/1_lib/tests/modules/define-value-int-negative.nix b/nodes/1_lib/source/tests/modules/define-value-int-negative.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-value-int-negative.nix rename to nodes/1_lib/source/tests/modules/define-value-int-negative.nix diff --git a/nodes/1_lib/tests/modules/define-value-int-positive.nix b/nodes/1_lib/source/tests/modules/define-value-int-positive.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-value-int-positive.nix rename to nodes/1_lib/source/tests/modules/define-value-int-positive.nix diff --git a/nodes/1_lib/tests/modules/define-value-int-zero.nix b/nodes/1_lib/source/tests/modules/define-value-int-zero.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-value-int-zero.nix rename to nodes/1_lib/source/tests/modules/define-value-int-zero.nix diff --git a/nodes/1_lib/tests/modules/define-value-list.nix b/nodes/1_lib/source/tests/modules/define-value-list.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-value-list.nix rename to nodes/1_lib/source/tests/modules/define-value-list.nix diff --git a/nodes/1_lib/tests/modules/define-value-string-arbitrary.nix b/nodes/1_lib/source/tests/modules/define-value-string-arbitrary.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-value-string-arbitrary.nix rename to nodes/1_lib/source/tests/modules/define-value-string-arbitrary.nix diff --git a/nodes/1_lib/tests/modules/define-value-string-bigint.nix b/nodes/1_lib/source/tests/modules/define-value-string-bigint.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-value-string-bigint.nix rename to nodes/1_lib/source/tests/modules/define-value-string-bigint.nix diff --git a/nodes/1_lib/tests/modules/define-value-string-properties.nix b/nodes/1_lib/source/tests/modules/define-value-string-properties.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-value-string-properties.nix rename to nodes/1_lib/source/tests/modules/define-value-string-properties.nix diff --git a/nodes/1_lib/tests/modules/define-value-string.nix b/nodes/1_lib/source/tests/modules/define-value-string.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-value-string.nix rename to nodes/1_lib/source/tests/modules/define-value-string.nix diff --git a/nodes/1_lib/tests/modules/define-variant.nix b/nodes/1_lib/source/tests/modules/define-variant.nix similarity index 100% rename from nodes/1_lib/tests/modules/define-variant.nix rename to nodes/1_lib/source/tests/modules/define-variant.nix diff --git a/nodes/1_lib/tests/modules/disable-declare-enable.nix b/nodes/1_lib/source/tests/modules/disable-declare-enable.nix similarity index 100% rename from nodes/1_lib/tests/modules/disable-declare-enable.nix rename to nodes/1_lib/source/tests/modules/disable-declare-enable.nix diff --git a/nodes/1_lib/tests/modules/disable-define-enable-string-path.nix b/nodes/1_lib/source/tests/modules/disable-define-enable-string-path.nix similarity index 100% rename from nodes/1_lib/tests/modules/disable-define-enable-string-path.nix rename to nodes/1_lib/source/tests/modules/disable-define-enable-string-path.nix diff --git a/nodes/1_lib/tests/modules/disable-define-enable.nix b/nodes/1_lib/source/tests/modules/disable-define-enable.nix similarity index 100% rename from nodes/1_lib/tests/modules/disable-define-enable.nix rename to nodes/1_lib/source/tests/modules/disable-define-enable.nix diff --git a/nodes/1_lib/tests/modules/disable-enable-modules.nix b/nodes/1_lib/source/tests/modules/disable-enable-modules.nix similarity index 100% rename from nodes/1_lib/tests/modules/disable-enable-modules.nix rename to nodes/1_lib/source/tests/modules/disable-enable-modules.nix diff --git a/nodes/1_lib/tests/modules/disable-module-bad-key.nix b/nodes/1_lib/source/tests/modules/disable-module-bad-key.nix similarity index 100% rename from nodes/1_lib/tests/modules/disable-module-bad-key.nix rename to nodes/1_lib/source/tests/modules/disable-module-bad-key.nix diff --git a/nodes/1_lib/tests/modules/disable-module-with-key.nix b/nodes/1_lib/source/tests/modules/disable-module-with-key.nix similarity index 100% rename from nodes/1_lib/tests/modules/disable-module-with-key.nix rename to nodes/1_lib/source/tests/modules/disable-module-with-key.nix diff --git a/nodes/1_lib/tests/modules/disable-module-with-toString-key.nix b/nodes/1_lib/source/tests/modules/disable-module-with-toString-key.nix similarity index 100% rename from nodes/1_lib/tests/modules/disable-module-with-toString-key.nix rename to nodes/1_lib/source/tests/modules/disable-module-with-toString-key.nix diff --git a/nodes/1_lib/tests/modules/disable-recursive/bar.nix b/nodes/1_lib/source/tests/modules/disable-recursive/bar.nix similarity index 100% rename from nodes/1_lib/tests/modules/disable-recursive/bar.nix rename to nodes/1_lib/source/tests/modules/disable-recursive/bar.nix diff --git a/nodes/1_lib/tests/modules/disable-recursive/disable-bar.nix b/nodes/1_lib/source/tests/modules/disable-recursive/disable-bar.nix similarity index 100% rename from nodes/1_lib/tests/modules/disable-recursive/disable-bar.nix rename to nodes/1_lib/source/tests/modules/disable-recursive/disable-bar.nix diff --git a/nodes/1_lib/tests/modules/disable-recursive/disable-foo.nix b/nodes/1_lib/source/tests/modules/disable-recursive/disable-foo.nix similarity index 100% rename from nodes/1_lib/tests/modules/disable-recursive/disable-foo.nix rename to nodes/1_lib/source/tests/modules/disable-recursive/disable-foo.nix diff --git a/nodes/1_lib/tests/modules/disable-recursive/foo.nix b/nodes/1_lib/source/tests/modules/disable-recursive/foo.nix similarity index 100% rename from nodes/1_lib/tests/modules/disable-recursive/foo.nix rename to nodes/1_lib/source/tests/modules/disable-recursive/foo.nix diff --git a/nodes/1_lib/tests/modules/disable-recursive/main.nix b/nodes/1_lib/source/tests/modules/disable-recursive/main.nix similarity index 100% rename from nodes/1_lib/tests/modules/disable-recursive/main.nix rename to nodes/1_lib/source/tests/modules/disable-recursive/main.nix diff --git a/nodes/1_lib/tests/modules/doRename-basic.nix b/nodes/1_lib/source/tests/modules/doRename-basic.nix similarity index 100% rename from nodes/1_lib/tests/modules/doRename-basic.nix rename to nodes/1_lib/source/tests/modules/doRename-basic.nix diff --git a/nodes/1_lib/tests/modules/doRename-condition-enable.nix b/nodes/1_lib/source/tests/modules/doRename-condition-enable.nix similarity index 100% rename from nodes/1_lib/tests/modules/doRename-condition-enable.nix rename to nodes/1_lib/source/tests/modules/doRename-condition-enable.nix diff --git a/nodes/1_lib/tests/modules/doRename-condition-migrated.nix b/nodes/1_lib/source/tests/modules/doRename-condition-migrated.nix similarity index 100% rename from nodes/1_lib/tests/modules/doRename-condition-migrated.nix rename to nodes/1_lib/source/tests/modules/doRename-condition-migrated.nix diff --git a/nodes/1_lib/tests/modules/doRename-condition-no-enable.nix b/nodes/1_lib/source/tests/modules/doRename-condition-no-enable.nix similarity index 100% rename from nodes/1_lib/tests/modules/doRename-condition-no-enable.nix rename to nodes/1_lib/source/tests/modules/doRename-condition-no-enable.nix diff --git a/nodes/1_lib/tests/modules/doRename-condition.nix b/nodes/1_lib/source/tests/modules/doRename-condition.nix similarity index 100% rename from nodes/1_lib/tests/modules/doRename-condition.nix rename to nodes/1_lib/source/tests/modules/doRename-condition.nix diff --git a/nodes/1_lib/tests/modules/doRename-warnings.nix b/nodes/1_lib/source/tests/modules/doRename-warnings.nix similarity index 100% rename from nodes/1_lib/tests/modules/doRename-warnings.nix rename to nodes/1_lib/source/tests/modules/doRename-warnings.nix diff --git a/nodes/1_lib/tests/modules/docs.nix b/nodes/1_lib/source/tests/modules/docs.nix similarity index 100% rename from nodes/1_lib/tests/modules/docs.nix rename to nodes/1_lib/source/tests/modules/docs.nix diff --git a/nodes/1_lib/tests/modules/emptyValues.nix b/nodes/1_lib/source/tests/modules/emptyValues.nix similarity index 100% rename from nodes/1_lib/tests/modules/emptyValues.nix rename to nodes/1_lib/source/tests/modules/emptyValues.nix diff --git a/nodes/1_lib/tests/modules/error-mkOption-in-config.nix b/nodes/1_lib/source/tests/modules/error-mkOption-in-config.nix similarity index 100% rename from nodes/1_lib/tests/modules/error-mkOption-in-config.nix rename to nodes/1_lib/source/tests/modules/error-mkOption-in-config.nix diff --git a/nodes/1_lib/tests/modules/error-mkOption-in-submodule-config.nix b/nodes/1_lib/source/tests/modules/error-mkOption-in-submodule-config.nix similarity index 100% rename from nodes/1_lib/tests/modules/error-mkOption-in-submodule-config.nix rename to nodes/1_lib/source/tests/modules/error-mkOption-in-submodule-config.nix diff --git a/nodes/1_lib/tests/modules/error-nonEmptyListOf-submodule.nix b/nodes/1_lib/source/tests/modules/error-nonEmptyListOf-submodule.nix similarity index 100% rename from nodes/1_lib/tests/modules/error-nonEmptyListOf-submodule.nix rename to nodes/1_lib/source/tests/modules/error-nonEmptyListOf-submodule.nix diff --git a/nodes/1_lib/tests/modules/extendModules-168767-imports.nix b/nodes/1_lib/source/tests/modules/extendModules-168767-imports.nix similarity index 100% rename from nodes/1_lib/tests/modules/extendModules-168767-imports.nix rename to nodes/1_lib/source/tests/modules/extendModules-168767-imports.nix diff --git a/nodes/1_lib/tests/modules/freeform-attrsOf.nix b/nodes/1_lib/source/tests/modules/freeform-attrsOf.nix similarity index 100% rename from nodes/1_lib/tests/modules/freeform-attrsOf.nix rename to nodes/1_lib/source/tests/modules/freeform-attrsOf.nix diff --git a/nodes/1_lib/tests/modules/freeform-lazyAttrsOf.nix b/nodes/1_lib/source/tests/modules/freeform-lazyAttrsOf.nix similarity index 100% rename from nodes/1_lib/tests/modules/freeform-lazyAttrsOf.nix rename to nodes/1_lib/source/tests/modules/freeform-lazyAttrsOf.nix diff --git a/nodes/1_lib/tests/modules/freeform-nested.nix b/nodes/1_lib/source/tests/modules/freeform-nested.nix similarity index 100% rename from nodes/1_lib/tests/modules/freeform-nested.nix rename to nodes/1_lib/source/tests/modules/freeform-nested.nix diff --git a/nodes/1_lib/tests/modules/freeform-str-dep-unstr.nix b/nodes/1_lib/source/tests/modules/freeform-str-dep-unstr.nix similarity index 100% rename from nodes/1_lib/tests/modules/freeform-str-dep-unstr.nix rename to nodes/1_lib/source/tests/modules/freeform-str-dep-unstr.nix diff --git a/nodes/1_lib/tests/modules/freeform-submodules.nix b/nodes/1_lib/source/tests/modules/freeform-submodules.nix similarity index 100% rename from nodes/1_lib/tests/modules/freeform-submodules.nix rename to nodes/1_lib/source/tests/modules/freeform-submodules.nix diff --git a/nodes/1_lib/tests/modules/freeform-unstr-dep-str.nix b/nodes/1_lib/source/tests/modules/freeform-unstr-dep-str.nix similarity index 100% rename from nodes/1_lib/tests/modules/freeform-unstr-dep-str.nix rename to nodes/1_lib/source/tests/modules/freeform-unstr-dep-str.nix diff --git a/nodes/1_lib/tests/modules/functionTo/list-order.nix b/nodes/1_lib/source/tests/modules/functionTo/list-order.nix similarity index 100% rename from nodes/1_lib/tests/modules/functionTo/list-order.nix rename to nodes/1_lib/source/tests/modules/functionTo/list-order.nix diff --git a/nodes/1_lib/tests/modules/functionTo/merging-attrs.nix b/nodes/1_lib/source/tests/modules/functionTo/merging-attrs.nix similarity index 100% rename from nodes/1_lib/tests/modules/functionTo/merging-attrs.nix rename to nodes/1_lib/source/tests/modules/functionTo/merging-attrs.nix diff --git a/nodes/1_lib/tests/modules/functionTo/merging-list.nix b/nodes/1_lib/source/tests/modules/functionTo/merging-list.nix similarity index 100% rename from nodes/1_lib/tests/modules/functionTo/merging-list.nix rename to nodes/1_lib/source/tests/modules/functionTo/merging-list.nix diff --git a/nodes/1_lib/tests/modules/functionTo/submodule-options.nix b/nodes/1_lib/source/tests/modules/functionTo/submodule-options.nix similarity index 100% rename from nodes/1_lib/tests/modules/functionTo/submodule-options.nix rename to nodes/1_lib/source/tests/modules/functionTo/submodule-options.nix diff --git a/nodes/1_lib/tests/modules/functionTo/trivial.nix b/nodes/1_lib/source/tests/modules/functionTo/trivial.nix similarity index 100% rename from nodes/1_lib/tests/modules/functionTo/trivial.nix rename to nodes/1_lib/source/tests/modules/functionTo/trivial.nix diff --git a/nodes/1_lib/tests/modules/functionTo/wrong-type.nix b/nodes/1_lib/source/tests/modules/functionTo/wrong-type.nix similarity index 100% rename from nodes/1_lib/tests/modules/functionTo/wrong-type.nix rename to nodes/1_lib/source/tests/modules/functionTo/wrong-type.nix diff --git a/nodes/1_lib/tests/modules/gvariant.nix b/nodes/1_lib/source/tests/modules/gvariant.nix similarity index 100% rename from nodes/1_lib/tests/modules/gvariant.nix rename to nodes/1_lib/source/tests/modules/gvariant.nix diff --git a/nodes/1_lib/tests/modules/import-configuration.nix b/nodes/1_lib/source/tests/modules/import-configuration.nix similarity index 100% rename from nodes/1_lib/tests/modules/import-configuration.nix rename to nodes/1_lib/source/tests/modules/import-configuration.nix diff --git a/nodes/1_lib/tests/modules/import-custom-arg.nix b/nodes/1_lib/source/tests/modules/import-custom-arg.nix similarity index 100% rename from nodes/1_lib/tests/modules/import-custom-arg.nix rename to nodes/1_lib/source/tests/modules/import-custom-arg.nix diff --git a/nodes/1_lib/tests/modules/import-from-store.nix b/nodes/1_lib/source/tests/modules/import-from-store.nix similarity index 100% rename from nodes/1_lib/tests/modules/import-from-store.nix rename to nodes/1_lib/source/tests/modules/import-from-store.nix diff --git a/nodes/1_lib/tests/modules/merge-module-with-key.nix b/nodes/1_lib/source/tests/modules/merge-module-with-key.nix similarity index 100% rename from nodes/1_lib/tests/modules/merge-module-with-key.nix rename to nodes/1_lib/source/tests/modules/merge-module-with-key.nix diff --git a/nodes/1_lib/tests/modules/merge-typeless-option.nix b/nodes/1_lib/source/tests/modules/merge-typeless-option.nix similarity index 100% rename from nodes/1_lib/tests/modules/merge-typeless-option.nix rename to nodes/1_lib/source/tests/modules/merge-typeless-option.nix diff --git a/nodes/1_lib/tests/modules/module-argument-default.nix b/nodes/1_lib/source/tests/modules/module-argument-default.nix similarity index 100% rename from nodes/1_lib/tests/modules/module-argument-default.nix rename to nodes/1_lib/source/tests/modules/module-argument-default.nix diff --git a/nodes/1_lib/tests/modules/module-class-is-darwin.nix b/nodes/1_lib/source/tests/modules/module-class-is-darwin.nix similarity index 100% rename from nodes/1_lib/tests/modules/module-class-is-darwin.nix rename to nodes/1_lib/source/tests/modules/module-class-is-darwin.nix diff --git a/nodes/1_lib/tests/modules/module-class-is-nixos.nix b/nodes/1_lib/source/tests/modules/module-class-is-nixos.nix similarity index 100% rename from nodes/1_lib/tests/modules/module-class-is-nixos.nix rename to nodes/1_lib/source/tests/modules/module-class-is-nixos.nix diff --git a/nodes/1_lib/tests/modules/module-imports-_type-check.nix b/nodes/1_lib/source/tests/modules/module-imports-_type-check.nix similarity index 100% rename from nodes/1_lib/tests/modules/module-imports-_type-check.nix rename to nodes/1_lib/source/tests/modules/module-imports-_type-check.nix diff --git a/nodes/1_lib/tests/modules/optionTypeFile.nix b/nodes/1_lib/source/tests/modules/optionTypeFile.nix similarity index 100% rename from nodes/1_lib/tests/modules/optionTypeFile.nix rename to nodes/1_lib/source/tests/modules/optionTypeFile.nix diff --git a/nodes/1_lib/tests/modules/optionTypeMerging.nix b/nodes/1_lib/source/tests/modules/optionTypeMerging.nix similarity index 100% rename from nodes/1_lib/tests/modules/optionTypeMerging.nix rename to nodes/1_lib/source/tests/modules/optionTypeMerging.nix diff --git a/nodes/1_lib/tests/modules/options-type-error-configuration.nix b/nodes/1_lib/source/tests/modules/options-type-error-configuration.nix similarity index 100% rename from nodes/1_lib/tests/modules/options-type-error-configuration.nix rename to nodes/1_lib/source/tests/modules/options-type-error-configuration.nix diff --git a/nodes/1_lib/tests/modules/options-type-error-typical-nested.nix b/nodes/1_lib/source/tests/modules/options-type-error-typical-nested.nix similarity index 100% rename from nodes/1_lib/tests/modules/options-type-error-typical-nested.nix rename to nodes/1_lib/source/tests/modules/options-type-error-typical-nested.nix diff --git a/nodes/1_lib/tests/modules/options-type-error-typical.nix b/nodes/1_lib/source/tests/modules/options-type-error-typical.nix similarity index 100% rename from nodes/1_lib/tests/modules/options-type-error-typical.nix rename to nodes/1_lib/source/tests/modules/options-type-error-typical.nix diff --git a/nodes/1_lib/tests/modules/raw.nix b/nodes/1_lib/source/tests/modules/raw.nix similarity index 100% rename from nodes/1_lib/tests/modules/raw.nix rename to nodes/1_lib/source/tests/modules/raw.nix diff --git a/nodes/1_lib/tests/modules/shorthand-meta.nix b/nodes/1_lib/source/tests/modules/shorthand-meta.nix similarity index 100% rename from nodes/1_lib/tests/modules/shorthand-meta.nix rename to nodes/1_lib/source/tests/modules/shorthand-meta.nix diff --git a/nodes/1_lib/tests/modules/submoduleFiles.nix b/nodes/1_lib/source/tests/modules/submoduleFiles.nix similarity index 100% rename from nodes/1_lib/tests/modules/submoduleFiles.nix rename to nodes/1_lib/source/tests/modules/submoduleFiles.nix diff --git a/nodes/1_lib/tests/modules/test-mergeAttrDefinitionsWithPrio.nix b/nodes/1_lib/source/tests/modules/test-mergeAttrDefinitionsWithPrio.nix similarity index 100% rename from nodes/1_lib/tests/modules/test-mergeAttrDefinitionsWithPrio.nix rename to nodes/1_lib/source/tests/modules/test-mergeAttrDefinitionsWithPrio.nix diff --git a/nodes/1_lib/tests/modules/types-anything/attrs-coercible.nix b/nodes/1_lib/source/tests/modules/types-anything/attrs-coercible.nix similarity index 100% rename from nodes/1_lib/tests/modules/types-anything/attrs-coercible.nix rename to nodes/1_lib/source/tests/modules/types-anything/attrs-coercible.nix diff --git a/nodes/1_lib/tests/modules/types-anything/equal-atoms.nix b/nodes/1_lib/source/tests/modules/types-anything/equal-atoms.nix similarity index 100% rename from nodes/1_lib/tests/modules/types-anything/equal-atoms.nix rename to nodes/1_lib/source/tests/modules/types-anything/equal-atoms.nix diff --git a/nodes/1_lib/tests/modules/types-anything/functions.nix b/nodes/1_lib/source/tests/modules/types-anything/functions.nix similarity index 100% rename from nodes/1_lib/tests/modules/types-anything/functions.nix rename to nodes/1_lib/source/tests/modules/types-anything/functions.nix diff --git a/nodes/1_lib/tests/modules/types-anything/lists.nix b/nodes/1_lib/source/tests/modules/types-anything/lists.nix similarity index 100% rename from nodes/1_lib/tests/modules/types-anything/lists.nix rename to nodes/1_lib/source/tests/modules/types-anything/lists.nix diff --git a/nodes/1_lib/tests/modules/types-anything/mk-mods.nix b/nodes/1_lib/source/tests/modules/types-anything/mk-mods.nix similarity index 100% rename from nodes/1_lib/tests/modules/types-anything/mk-mods.nix rename to nodes/1_lib/source/tests/modules/types-anything/mk-mods.nix diff --git a/nodes/1_lib/tests/modules/types-anything/nested-attrs.nix b/nodes/1_lib/source/tests/modules/types-anything/nested-attrs.nix similarity index 100% rename from nodes/1_lib/tests/modules/types-anything/nested-attrs.nix rename to nodes/1_lib/source/tests/modules/types-anything/nested-attrs.nix diff --git a/nodes/1_lib/tests/modules/types-attrTag-wrong-decl.nix b/nodes/1_lib/source/tests/modules/types-attrTag-wrong-decl.nix similarity index 100% rename from nodes/1_lib/tests/modules/types-attrTag-wrong-decl.nix rename to nodes/1_lib/source/tests/modules/types-attrTag-wrong-decl.nix diff --git a/nodes/1_lib/tests/modules/types-attrTag.nix b/nodes/1_lib/source/tests/modules/types-attrTag.nix similarity index 100% rename from nodes/1_lib/tests/modules/types-attrTag.nix rename to nodes/1_lib/source/tests/modules/types-attrTag.nix diff --git a/nodes/1_lib/tests/modules/types-unique.nix b/nodes/1_lib/source/tests/modules/types-unique.nix similarity index 100% rename from nodes/1_lib/tests/modules/types-unique.nix rename to nodes/1_lib/source/tests/modules/types-unique.nix diff --git a/nodes/1_lib/tests/modules/types.nix b/nodes/1_lib/source/tests/modules/types.nix similarity index 100% rename from nodes/1_lib/tests/modules/types.nix rename to nodes/1_lib/source/tests/modules/types.nix diff --git a/nodes/1_lib/tests/nix-for-tests.nix b/nodes/1_lib/source/tests/nix-for-tests.nix similarity index 100% rename from nodes/1_lib/tests/nix-for-tests.nix rename to nodes/1_lib/source/tests/nix-for-tests.nix diff --git a/nodes/1_lib/tests/packages-from-directory/a.nix b/nodes/1_lib/source/tests/packages-from-directory/a.nix similarity index 100% rename from nodes/1_lib/tests/packages-from-directory/a.nix rename to nodes/1_lib/source/tests/packages-from-directory/a.nix diff --git a/nodes/1_lib/tests/packages-from-directory/b.nix b/nodes/1_lib/source/tests/packages-from-directory/b.nix similarity index 100% rename from nodes/1_lib/tests/packages-from-directory/b.nix rename to nodes/1_lib/source/tests/packages-from-directory/b.nix diff --git a/nodes/1_lib/tests/packages-from-directory/c/my-extra-feature.patch b/nodes/1_lib/source/tests/packages-from-directory/c/my-extra-feature.patch similarity index 100% rename from nodes/1_lib/tests/packages-from-directory/c/my-extra-feature.patch rename to nodes/1_lib/source/tests/packages-from-directory/c/my-extra-feature.patch diff --git a/nodes/1_lib/tests/packages-from-directory/c/not-a-namespace/not-a-package.nix b/nodes/1_lib/source/tests/packages-from-directory/c/not-a-namespace/not-a-package.nix similarity index 100% rename from nodes/1_lib/tests/packages-from-directory/c/not-a-namespace/not-a-package.nix rename to nodes/1_lib/source/tests/packages-from-directory/c/not-a-namespace/not-a-package.nix diff --git a/nodes/1_lib/tests/packages-from-directory/c/package.nix b/nodes/1_lib/source/tests/packages-from-directory/c/package.nix similarity index 100% rename from nodes/1_lib/tests/packages-from-directory/c/package.nix rename to nodes/1_lib/source/tests/packages-from-directory/c/package.nix diff --git a/nodes/1_lib/tests/packages-from-directory/c/support-definitions.nix b/nodes/1_lib/source/tests/packages-from-directory/c/support-definitions.nix similarity index 100% rename from nodes/1_lib/tests/packages-from-directory/c/support-definitions.nix rename to nodes/1_lib/source/tests/packages-from-directory/c/support-definitions.nix diff --git a/nodes/1_lib/tests/packages-from-directory/my-namespace/d.nix b/nodes/1_lib/source/tests/packages-from-directory/my-namespace/d.nix similarity index 100% rename from nodes/1_lib/tests/packages-from-directory/my-namespace/d.nix rename to nodes/1_lib/source/tests/packages-from-directory/my-namespace/d.nix diff --git a/nodes/1_lib/tests/packages-from-directory/my-namespace/e.nix b/nodes/1_lib/source/tests/packages-from-directory/my-namespace/e.nix similarity index 100% rename from nodes/1_lib/tests/packages-from-directory/my-namespace/e.nix rename to nodes/1_lib/source/tests/packages-from-directory/my-namespace/e.nix diff --git a/nodes/1_lib/tests/packages-from-directory/my-namespace/f/package.nix b/nodes/1_lib/source/tests/packages-from-directory/my-namespace/f/package.nix similarity index 100% rename from nodes/1_lib/tests/packages-from-directory/my-namespace/f/package.nix rename to nodes/1_lib/source/tests/packages-from-directory/my-namespace/f/package.nix diff --git a/nodes/1_lib/tests/packages-from-directory/my-namespace/my-sub-namespace/g.nix b/nodes/1_lib/source/tests/packages-from-directory/my-namespace/my-sub-namespace/g.nix similarity index 100% rename from nodes/1_lib/tests/packages-from-directory/my-namespace/my-sub-namespace/g.nix rename to nodes/1_lib/source/tests/packages-from-directory/my-namespace/my-sub-namespace/g.nix diff --git a/nodes/1_lib/tests/packages-from-directory/my-namespace/my-sub-namespace/h.nix b/nodes/1_lib/source/tests/packages-from-directory/my-namespace/my-sub-namespace/h.nix similarity index 100% rename from nodes/1_lib/tests/packages-from-directory/my-namespace/my-sub-namespace/h.nix rename to nodes/1_lib/source/tests/packages-from-directory/my-namespace/my-sub-namespace/h.nix diff --git a/nodes/1_lib/tests/release.nix b/nodes/1_lib/source/tests/release.nix similarity index 100% rename from nodes/1_lib/tests/release.nix rename to nodes/1_lib/source/tests/release.nix diff --git a/nodes/1_lib/tests/sources.sh b/nodes/1_lib/source/tests/sources.sh similarity index 100% rename from nodes/1_lib/tests/sources.sh rename to nodes/1_lib/source/tests/sources.sh diff --git a/nodes/1_lib/tests/systems.nix b/nodes/1_lib/source/tests/systems.nix similarity index 100% rename from nodes/1_lib/tests/systems.nix rename to nodes/1_lib/source/tests/systems.nix diff --git a/nodes/1_lib/tests/teams.nix b/nodes/1_lib/source/tests/teams.nix similarity index 100% rename from nodes/1_lib/tests/teams.nix rename to nodes/1_lib/source/tests/teams.nix diff --git a/nodes/1_lib/tests/test-to-plist-expected.plist b/nodes/1_lib/source/tests/test-to-plist-expected.plist similarity index 100% rename from nodes/1_lib/tests/test-to-plist-expected.plist rename to nodes/1_lib/source/tests/test-to-plist-expected.plist diff --git a/nodes/1_lib/tests/test-with-nix.nix b/nodes/1_lib/source/tests/test-with-nix.nix similarity index 100% rename from nodes/1_lib/tests/test-with-nix.nix rename to nodes/1_lib/source/tests/test-with-nix.nix diff --git a/nodes/1_lib/trivial.nix b/nodes/1_lib/source/trivial.nix similarity index 100% rename from nodes/1_lib/trivial.nix rename to nodes/1_lib/source/trivial.nix diff --git a/nodes/1_lib/types.nix b/nodes/1_lib/source/types.nix similarity index 100% rename from nodes/1_lib/types.nix rename to nodes/1_lib/source/types.nix diff --git a/nodes/1_lib/versions.nix b/nodes/1_lib/source/versions.nix similarity index 100% rename from nodes/1_lib/versions.nix rename to nodes/1_lib/source/versions.nix diff --git a/nodes/1_lib/zip-int-bits.nix b/nodes/1_lib/source/zip-int-bits.nix similarity index 100% rename from nodes/1_lib/zip-int-bits.nix rename to nodes/1_lib/source/zip-int-bits.nix diff --git a/nodes/1_lib/static/meta.json b/nodes/1_lib/static/meta.json new file mode 100644 index 0000000..a0cca99 --- /dev/null +++ b/nodes/1_lib/static/meta.json @@ -0,0 +1,3 @@ +{ + "generated by": null +} \ No newline at end of file diff --git a/nodes/1_lib/static/setup.json b/nodes/1_lib/static/setup.json new file mode 100644 index 0000000..7a73a41 --- /dev/null +++ b/nodes/1_lib/static/setup.json @@ -0,0 +1,2 @@ +{ +} \ No newline at end of file