From 872a5fdc80988aeb97efb55484ca6b72b038fc08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 9 Jul 2024 15:05:00 +0200 Subject: [PATCH] lib.facts: assume clanDir instead of machines prefix --- lib/facts.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/facts.nix b/lib/facts.nix index 46c595dd..44bb106d 100644 --- a/lib/facts.nix +++ b/lib/facts.nix @@ -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: