Merge pull request 'move facts to machine subdirectory' (#236) from facts-default-path into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/236
This commit is contained in:
Mic92
2023-09-06 15:07:49 +00:00

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;