Inventory: extend model by deployment info
This commit is contained in:
@@ -148,6 +148,9 @@ let
|
||||
(lib.optionalAttrs (machineConfig.system or null != null) {
|
||||
config.nixpkgs.hostPlatform = machineConfig.system;
|
||||
})
|
||||
(lib.optionalAttrs (machineConfig.deploymentInfo.targetHost or null != null) {
|
||||
config.clan.core.networking.targetHost = machineConfig.deploymentInfo.targetHost;
|
||||
})
|
||||
]
|
||||
) inventory.machines or { };
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user