diff options
| author | tv <tv@krebsco.de> | 2026-11-16 13:31:16 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 13:31:16 +0000 |
| commit | 1bad8c85a23dacf33ad6285d141f6e07068054f0 (patch) | |
| tree | 93269b423734c405500cb03890a5d959dc3bfaf3 /pkgs/run-firecracker-vm/kernel.nix | |
| parent | 537ed0d545baaa0e4721aab1469cc72562a6ab71 (diff) | |
use nixos-init
In the initrd, NixOS Activation spends ~0.1s before its first output and
~0.15s in total, running prepare-root and the activation script in bash
from the (cold) store image:
[0.907724] Starting NixOS Activation...
[1.009663] booting system configuration /nix/store/...
[1.054987] Finished NixOS Activation.
nixos-init does the same from a single program. perlless already
gives us what it requires: systemd in the initrd, an overlay /etc and
userborn.
Mount the store with nodev,nosuid right away, so nixos-init doesn't
have to remount it.
Diffstat (limited to 'pkgs/run-firecracker-vm/kernel.nix')
0 files changed, 0 insertions, 0 deletions
