You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
597 B

{ config, lib, pkgs, modulesPath, ... }:
{
# Use /dev/sdX identifiers for disks instead of UUIDs
fileSystems."/".device = lib.mkForce "/dev/sda";
swapDevices = lib.mkForce [ { device = "/dev/sdb"; } ];
# Enable LISH
boot.kernelParams = [ "console=ttyS0,19200n8" ];
boot.loader.grub.extraConfig = ''
serial --speed=19200 --unit=0 --word=8 --parity=no --stop=1;
terminal_input serial;
terminal_output serial
'';
boot.loader.grub.forceInstall = true;
boot.loader.grub.device = "nodev";
boot.loader.timeout = 10;
networking.usePredictableInterfaceNames = false;
}