add serial and remove tpm support from homelab

This commit is contained in:
Satria 2026-03-08 22:26:52 +07:00
commit 0bd3d5a165
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,10 @@
{ ... }: let
serial = "0";
in {
boot.kernelParams = [ "console=ttyS${serial},115200" ];
systemd.services."serial-getty@ttyS${serial}" = {
enable = true;
wantedBy = [ "getty.target" ];
serviceConfig.Restart = "always";
};
}