-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hi,
Is there a straightforward way to export a nickel expression containing a list of my machines to a simple nix expression like you can with json, toml etc? It'd be cool to have my systems defined in a nickel expression then be able to export them to json for my ci/cd pipeline and to nix for my actual build configurations.
let { SystemSchema, .. } = import "system-schema.ncl" in
let { NetworkSchema, .. } = import "../networks/network-schema.ncl" in
let abyslNetworks = import "../networks/networks.ncl" in
{
zitadel | SystemSchema = { host = "zitadel", ip = "10.0.22.2", networks = [ abyslNetworks.public ] },
}
Metadata
Metadata
Assignees
Labels
No labels