all repos — nixfiles @ 5172a249c73d1982400310389e32769d5b94b608

System and user configuration, managed by nix and home-manager

system/settings/hardware/usb-serial-tty.nix (view raw)

1
2
3
4
5
6
7
8
{ ... }:
{
  boot.kernelModules = [ "ftdi_sio" ];
  srvos.boot.consoles = [
    "ttyUSB0,${toString (3 * 1000 * 1000)}"
  ];
  systemd.services."serial-getty@ttyUSB0".enable = true;
}