microvm-nix/microvm.nix

Use smbios to pass systemd credentials instead of fw_cfg

Open

#511 opened on Apr 27, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Nix (205 forks)github user discovery
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (2,626 stars)
PR merge metrics
 (PR metrics pending)

Description

According to https://github.com/systemd/systemd/issues/24204 https://github.com/systemd/systemd/blob/78208556b281bd6ee8a95d16a517152728010475/docs/CREDENTIALS.md?plain=1#L303

fw_cfg has a 55 bytes name length limit, and many systemd creds names are actually longer than that, e.g. opt/io.systemd.credentials/ssh.ephemeral-authorized_keys-all. SMBIOS is the new recommended way to pass in credentials.

Contributor guide