Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created April 3, 2019 18:00
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/d378ea064720f059e742730d2296b2da to your computer and use it in GitHub Desktop.
Save cleverca22/d378ea064720f059e742730d2296b2da to your computer and use it in GitHub Desktop.
boot = {
crashDump = {
enable = false;
};
tmpOnTmpfs = false;
loader.efi = {
efiSysMountPoint = "/boot/EFI/";
canTouchEfiVariables = true;
};
loader.grub = {
efiInstallAsRemovable = false;
efiSupport = true;
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