# Allows getting machine-info outside the scope of nixos configuration { nixpkgs ? import { } , assertionsModule ? , machinesPath ? null }: { machines = (nixpkgs.lib.evalModules { modules = [ ./default.nix assertionsModule { config = nixpkgs.lib.mkIf (machinesPath != null) { machines.machinesPath = machinesPath; }; } ]; }).config.machines; }