Skip to content

Modules

Nixifest publishes one module for each generated Kubernetes minor version under inputs.nixifest.modules.nixifest.

{ inputs, ... }:
{
imports = [ inputs.nixifest.modules.nixifest.latest ];
}

Use latest to follow the newest generated schema. Pin a version when schema changes should be deliberate:

imports = [ inputs.nixifest.modules.nixifest.v1_36 ];

Versioned modules provide typed options for Kubernetes resources from that API schema. Custom-resource options are added by importing modules generated with nixifest-typegen.importCRDs; typically, provide the typegen package to modules through specialArgs. See Custom resources.