Bruno BELANYI
3b148ad684
I have separated the modules into host-specific settings, and generic settings that ought to be shared by every host. I only have the 'porthos' host for now, but intend to also add my laptop 'aramis' at some point to this repository.
16 lines
425 B
Nix
16 lines
425 B
Nix
# Boot configuration
|
|
{ ... }:
|
|
|
|
{
|
|
# Use the GRUB 2 boot loader.
|
|
boot.loader.grub.enable = true;
|
|
boot.loader.grub.version = 2;
|
|
# Define on which hard drive you want to install Grub.
|
|
boot.loader.grub.device = "/dev/sda";
|
|
|
|
boot.initrd.availableKernelModules = [ "uhci_hcd" "ahci" "usbhid" ];
|
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
boot.extraModulePackages = [ ];
|
|
}
|