lib.facts: assume clanDir instead of machines prefix #1722

Merged
clan-bot merged 1 commits from Mic92-main into main 2024-07-09 13:09:49 +00:00

View File

@ -4,7 +4,7 @@ let
allMachineNames = lib.mapAttrsToList (name: _: name) (builtins.readDir clanDir);
getFactPath = machine: fact: "${clanDir}/${machine}/facts/${fact}";
getFactPath = machine: fact: "${clanDir}/machines/${machine}/facts/${fact}";
readFact =
machine: fact: