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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user