restore possibility to update all machines without having to specify them

This commit is contained in:
Jörg Thalheim
2023-10-04 08:27:00 +02:00
parent 7842c24c9d
commit fcd1d18e15
2 changed files with 5 additions and 2 deletions

View File

@@ -42,12 +42,12 @@
};
# optimization for faster secret generate/upload and machines update
config = {
system.clan.deployment.text = builtins.toJSON {
system.clan.deployment.data = {
inherit (config.system.clan) uploadSecrets generateSecrets;
inherit (config.clan.networking) deploymentAddress;
inherit (config.clanCore) secretsUploadDirectory;
};
system.clan.deployment.file = pkgs.writeText "deployment.json" config.system.clan.deployment.text;
system.clan.deployment.file = pkgs.writeText "deployment.json" (builtins.toJSON config.system.clan.deployment.data);
};
};
}