Merge pull request 'move facts to machine subdirectory' (#236) from facts-default-path into main
All checks were successful
checks-impure / test (push) Successful in 6s
checks / test (push) Successful in 56s

Reviewed-on: #236
This commit is contained in:
Mic92 2023-09-06 15:07:49 +00:00
commit 81c755d710

View File

@ -49,7 +49,7 @@
description = ''
path to a fact which is generated by the generator
'';
default = "${config.clanCore.clanDir}/facts/${config.clanCore.machineName}/${fact.config._module.args.name}";
default = "${config.clanCore.clanDir}/machines/${config.clanCore.machineName}/facts/${fact.config._module.args.name}";
};
value = lib.mkOption {
default = builtins.readFile fact.config.path;