1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00

nixos/servnerr-4: explicitly start serial-getty

This commit is contained in:
Matt Layher 2023-07-23 20:04:28 -04:00
parent 0db6059aee
commit 40ff8ebfe7

View file

@ -40,6 +40,13 @@ in {
];
};
# Start getty over serial console.
systemd.services."serial-getty@ttyS1" = {
enable = true;
wantedBy = [ "multi-user.target" ];
serviceConfig = { Restart = "always"; };
};
# Scale down CPU frequency when load is low.
powerManagement.cpuFreqGovernor = "ondemand";