Fix properties.nix path loading

This commit is contained in:
2023-04-21 23:24:05 -06:00
parent 0ef689b750
commit 38c2e5aece
3 changed files with 7 additions and 23 deletions

View File

@@ -2,7 +2,6 @@
{ nixpkgs ? import <nixpkgs> { }
, assertionsModule ? <nixpkgs/nixos/modules/misc/assertions.nix>
, machinesPath ? null
}:
{
@@ -11,11 +10,6 @@
modules = [
./default.nix
assertionsModule
{
config = nixpkgs.lib.mkIf (machinesPath != null) {
machines.machinesPath = machinesPath;
};
}
];
}).config.machines;
}