| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
kernelPackages and caCert
The base system could only be changed by its two arguments, and a
kernel set in a layer was a conflict with the base's plain
boot.kernelPackages = kernelPackages. Now base takes NixOS modules,
merged into the base system, i.e. layer 0 and its image, so what all
layers share goes there, the kernel above all: kernel.nix is such a
module now, and no package any more, so it moves to base/ (--arg base
'[ base/kernel.nix ]', like --arg layers '[ layers/nix.nix ]'), and the
base's linuxPackages_latest is only a default. A layer can set the
kernel, too, now, but then the base image keeps its own kernel's
modules (161M for linuxPackages_latest), unused.
caCert wasn't used: the egress proxy's CA stays where modules/host puts
it, picked up if it's there; another one is
security.pki.certificateFiles, in base or a layer.
|