This does the following: * turns bootspec into a NixOS module * validates bootspecs with Cue * exposes internal knobs
24 lines
322 B
CUE
24 lines
322 B
CUE
#V1: {
|
|
init: string
|
|
initrd?: string
|
|
initrdSecrets?: string
|
|
kernel: string
|
|
kernelParams: [...string]
|
|
label: string
|
|
toplevel: string
|
|
specialisation?: {
|
|
[=~"^"]: #V1
|
|
}
|
|
extensions?: {...}
|
|
}
|
|
|
|
#SecureBootExtensions: #V1 & {
|
|
extensions: {
|
|
osRelease: string
|
|
}
|
|
}
|
|
|
|
Document: {
|
|
v1: #V1
|
|
}
|