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

@@ -52,5 +52,8 @@ in
clanInternals = {
machines = configsPerSystem;
all-machines-json = lib.mapAttrs
(system: configs: nixpkgs.legacyPackages.${system}.writers.writeJSON "machines.json" (lib.mapAttrs (_: m: m.config.system.clan.deployment.data) configs))
configsPerSystem;
};
}