Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created August 13, 2018 01:02
Show Gist options
  • Save cleverca22/d323368da6f32d21596a03a019c6ee88 to your computer and use it in GitHub Desktop.
Save cleverca22/d323368da6f32d21596a03a019c6ee88 to your computer and use it in GitHub Desktop.
boot = {
crashDump = {
enable = false;
};
tmpOnTmpfs = false;
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 = [ "nvme" ];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment