Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created May 22, 2017 23:03
Show Gist options
  • Save cleverca22/7fc546e5e440fe2e1b84e903fa955cb9 to your computer and use it in GitHub Desktop.
Save cleverca22/7fc546e5e440fe2e1b84e903fa955cb9 to your computer and use it in GitHub Desktop.
boot = {
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
}
'';
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment