rename machineDir -> clanDir

This commit is contained in:
Jörg Thalheim
2024-07-09 13:00:34 +02:00
parent 00dbdaf071
commit 9c8d993342

View File

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