tlaternet-server/etc/nixos/linode.nix
2020-02-02 17:01:38 +09:00

23 lines
422 B
Nix

{ config, lib, pkgs, ... }:
{
# Required for the lish console
boot = {
kernelParams = [ "console=ttyS0,19200n8" ];
};
boot.loader = {
# Timeout to allow lish to connect
timeout = 10;
grub = {
device = "nodev";
extraConfig = ''
serial --speed=19200 --unit=0 --word=8 --parity=no --stop=1;
terminal_input serial;
terminal_output serial;
'';
};
};
}