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:
parent
0db6059aee
commit
40ff8ebfe7
1 changed files with 7 additions and 0 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue