porthos: boot: clean-up style
This commit is contained in:
parent
21747212dd
commit
4f0a66c80e
|
@ -2,14 +2,22 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Use the GRUB 2 boot loader.
|
boot = {
|
||||||
boot.loader.grub.enable = true;
|
# Use the GRUB 2 boot loader.
|
||||||
boot.loader.grub.version = 2;
|
loader.grub = {
|
||||||
# Define on which hard drive you want to install Grub.
|
enable = true;
|
||||||
boot.loader.grub.device = "/dev/sda";
|
version = 2;
|
||||||
|
# Define on which hard drive you want to install Grub.
|
||||||
|
device = "/dev/sda";
|
||||||
|
};
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "uhci_hcd" "ahci" "usbhid" ];
|
initrd = {
|
||||||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
availableKernelModules = [ "uhci_hcd" "ahci" "usbhid" ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
kernelModules = [ "dm-snapshot" ];
|
||||||
boot.extraModulePackages = [ ];
|
};
|
||||||
|
|
||||||
|
kernelModules = [ "kvm-intel" ];
|
||||||
|
|
||||||
|
extraModulePackages = [ ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue