Fix invalid import issue.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
{ nixpkgs ? import <nixpkgs> { }
|
||||
, assertionsModule ? <nixpkgs/nixos/modules/misc/assertions.nix>
|
||||
, machinesPath ? null
|
||||
}:
|
||||
|
||||
{
|
||||
@@ -10,6 +11,11 @@
|
||||
modules = [
|
||||
./default.nix
|
||||
assertionsModule
|
||||
{
|
||||
config = nixpkgs.lib.mkIf (machinesPath != null) {
|
||||
machines.machinesPath = machinesPath;
|
||||
};
|
||||
}
|
||||
];
|
||||
}).config.machines;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user