From 1f20220bc884cbcb47bd2cb6ee0f56af9617d08d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 9 Jul 2024 13:00:34 +0200 Subject: [PATCH] rename machineDir -> clanDir --- lib/facts.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/facts.nix b/lib/facts.nix index ac72f2504..ccec1de57 100644 --- a/lib/facts.nix +++ b/lib/facts.nix @@ -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: