mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #102175 from grahamc/ami-random
amazon-image: random.trust_cpu=on to cut 10s from boot
This commit is contained in:
commit
860a3a23c6
@ -48,7 +48,7 @@ in
|
|||||||
];
|
];
|
||||||
boot.initrd.kernelModules = [ "xen-blkfront" "xen-netfront" ];
|
boot.initrd.kernelModules = [ "xen-blkfront" "xen-netfront" ];
|
||||||
boot.initrd.availableKernelModules = [ "ixgbevf" "ena" "nvme" ];
|
boot.initrd.availableKernelModules = [ "ixgbevf" "ena" "nvme" ];
|
||||||
boot.kernelParams = mkIf cfg.hvm [ "console=ttyS0" ];
|
boot.kernelParams = mkIf cfg.hvm [ "console=ttyS0" "random.trust_cpu=on" ];
|
||||||
|
|
||||||
# Prevent the nouveau kernel module from being loaded, as it
|
# Prevent the nouveau kernel module from being loaded, as it
|
||||||
# interferes with the nvidia/nvidia-uvm modules needed for CUDA.
|
# interferes with the nvidia/nvidia-uvm modules needed for CUDA.
|
||||||
|
Loading…
Reference in New Issue
Block a user