fix: properly fix failing systemd-vconsole-setup during systemd initrd

Enable `console.earlySetup` as it's required for systemd-vconsole-setup.
This commit is contained in:
Felix Schröter 2025-05-20 23:03:42 +02:00
parent bd3550ef0e
commit a3da0a3163
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -15,6 +15,7 @@
boot.initrd.systemd.enable = true;
# prevents `systemd-vconsole-setup` failing during systemd initrd
console.earlySetup = true;
systemd.services.systemd-vconsole-setup.unitConfig.After = "local-fs.target";
services.smartd.enable = true;