move facts to machine subdirectory
This makes it easier to delete facts when removing machines
This commit is contained in:
parent
71c6c3b2d0
commit
4d9a59c792
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user