difftreelog
fix move fleet-tf data extra
in: trunk
1 file changed
modules/extras/tf.nixdiffbeforeafterboth25 ];25 ];26 };26 };27 };27 };28 data = mkDataOption {29 # host => hostData30 options.extra.terraformHosts = mkOption {31 default = { };32 type = attrsOf (attrsOf unspecified);33 description = "Hosts data provided by fleet tf";34 };35 };36 };28 };372938 config = {30 config = {46 # will be somehow processed by fleet tf.38 # will be somehow processed by fleet tf.47 sensitive = true;39 sensitive = true;48 };40 };49 fleetConfigurations.default.hosts = config.data.extra.terraformHosts;41 fleetConfigurations.default = {config, ...}: {42 options.data = mkDataOption {43 # host => hostData44 options.extra.terraformHosts = mkOption {45 default = { };46 type = attrsOf (attrsOf unspecified);47 description = "Hosts data provided by fleet tf";48 };49 };50 config.hosts = config.data.extra.terraformHosts;51 };505251 perSystem.imports = [ ./tf-bootstrap.nix ];53 perSystem.imports = [ ./tf-bootstrap.nix ];52 };54 };