nix-config/hosts/nixos/porthos/boot.nix
Bruno BELANYI 7c4e0e31bc
Some checks failed
ci/woodpecker/push/check Pipeline failed
hosts: nixos: porthos: boot: remove 'grub.version'
2023-05-28 14:49:40 +02:00

23 lines
418 B
Nix

# Boot configuration
{ ... }:
{
boot = {
# Use the GRUB 2 boot loader.
loader.grub = {
enable = true;
# Define on which hard drive you want to install Grub.
device = "/dev/sda";
};
initrd = {
availableKernelModules = [ "uhci_hcd" "ahci" "usbhid" ];
kernelModules = [ "dm-snapshot" ];
};
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
};
}