diff options
author | Your Name <graham@grahamc.com> | 2021-08-20 11:15:31 -0400 |
---|---|---|
committer | Your Name <graham@grahamc.com> | 2021-08-20 11:15:31 -0400 |
commit | 0ccd6448d62b93c07ab2bdea4246bc0285b67500 (patch) | |
tree | eac52128156765eaa7d976ef52b6f9cd93477aeb /nixos/modules/virtualisation | |
parent | 62fe6c9892cf44ed8b2ceac17034af5a15e5318b (diff) | |
download | nixpkgs-0ccd6448d62b93c07ab2bdea4246bc0285b67500.tar nixpkgs-0ccd6448d62b93c07ab2bdea4246bc0285b67500.tar.gz nixpkgs-0ccd6448d62b93c07ab2bdea4246bc0285b67500.tar.bz2 nixpkgs-0ccd6448d62b93c07ab2bdea4246bc0285b67500.tar.lz nixpkgs-0ccd6448d62b93c07ab2bdea4246bc0285b67500.tar.xz nixpkgs-0ccd6448d62b93c07ab2bdea4246bc0285b67500.tar.zst nixpkgs-0ccd6448d62b93c07ab2bdea4246bc0285b67500.zip |
NixOS AWS AMI: Set the console to 115200n8
See: * https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-os.html * https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/grub.html
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/amazon-image.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/amazon-image.nix b/nixos/modules/virtualisation/amazon-image.nix index 26297a7d0f1..ad105b96332 100644 --- a/nixos/modules/virtualisation/amazon-image.nix +++ b/nixos/modules/virtualisation/amazon-image.nix @@ -49,7 +49,7 @@ in ]; boot.initrd.kernelModules = [ "xen-blkfront" "xen-netfront" ]; boot.initrd.availableKernelModules = [ "ixgbevf" "ena" "nvme" ]; - boot.kernelParams = mkIf cfg.hvm [ "console=ttyS0" "random.trust_cpu=on" ]; + boot.kernelParams = mkIf cfg.hvm [ "console=ttyS0,115200n8" "random.trust_cpu=on" ]; # Prevent the nouveau kernel module from being loaded, as it # interferes with the nvidia/nvidia-uvm modules needed for CUDA. |