{ config, pkgs, ...}:

{
  networking.hostName = "illimani";

  hardware.cpu.intel.updateMicrocode = true;
  boot.loader.efi.canTouchEfiVariables = true;

  boot.loader.timeout = null;
  boot.loader.grub = {
    # required for uefi
    device = "nodev";
    efiSupport = true;

    # winblows entry
    extraEntries = ''
      menuentry "Winblows 10" {
      insmod part_gpt
      insmod search_fs_uuid
      insmod chain
      search --fs-uuid --no-floppy --set=root 4023-cd4e
      chainloader ($root)/EFI/MICROSOFT/BOOT/bootmgfw.efi
      }
    '';
  };

  services.xserver.videoDrivers = [ "nouveau" ];
}

{ config, pkgs, ...}:

{
  networking.hostName = "illimani";

  hardware.cpu.intel.updateMicrocode = true;
  boot.loader.efi.canTouchEfiVariables = true;

  boot.loader.timeout = null;
  boot.loader.grub = {
    # required for uefi
    device = "nodev";
    efiSupport = true;

    # winblows entry
    extraEntries = ''
      menuentry "Winblows 10" {
      insmod part_gpt
      insmod search_fs_uuid
      insmod chain
      search --fs-uuid --no-floppy --set=root 4023-cd4e
      chainloader ($root)/EFI/MICROSOFT/BOOT/bootmgfw.efi
      }
    '';
  };

  services.xserver.videoDrivers = [ "nvidia" ];
}

Revert "Switch illimani to nouveau"
Revert "Switch illimani to nouveau"

This reverts commit 89c1648d39e62760d71f735ad2c332fb87b3e534.
