update clanlib.nix
This commit is contained in:
parent
6b4496a926
commit
b8cf22c653
2 changed files with 3 additions and 9 deletions
|
@ -1,13 +1,7 @@
|
|||
{ lib, machineDir, ... }:
|
||||
let
|
||||
|
||||
allMachineNames =
|
||||
let
|
||||
#machineDir = "${config.clanCore.clanDir}/machines/";
|
||||
#machineDir = ../../machines;
|
||||
machines = lib.mapAttrsToList (name: _: name) (builtins.readDir machineDir);
|
||||
in
|
||||
machines;
|
||||
allMachineNames = lib.mapAttrsToList (name: _: name) (builtins.readDir machineDir);
|
||||
|
||||
getFactPath = fact: machine:
|
||||
"${machineDir}/${machine}/facts/${fact}";
|
||||
|
|
Loading…
Reference in a new issue