Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/870b90eedd61721fa0f672452d16a178 to your computer and use it in GitHub Desktop.
Save cleverca22/870b90eedd61721fa0f672452d16a178 to your computer and use it in GitHub Desktop.
boot = {
loader.grub = {
memtest86.enable = true;
version = 2;
enable = true;
device = "/dev/sda";
extraEntries = ''
menuentry "Windows 7" {
insmod part_gpt
insmod chain
set root="hd1,msdos1"
chainloader +1
}
'';
};
initrd.availableKernelModules = [ ];
kernelParams = [
#"console=hvc0"
"boot.shell_on_fail"
#"vm.min_free_kbytes=4194304"
];
extraModprobeConfig = "options snd_hda_intel enable=1,0";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment