Jump to content

Dual Booting NixOS and Windows: Difference between revisions

no edit summary
imported>IgorM
m (Added category)
imported>Loosetooth
No edit summary
Line 91: Line 91:
       '';
       '';
       version = 2;
       version = 2;
    };
  };
}</nowiki>}}
==== EFI with multiple disks ====
When Windows is installed on another disk with a separate EFI partition, the following might work:
{{File|/etc/nixos/configuration.nix|nix|<nowiki>
{ config, ... }:
{
  boot.loader = {
    efi.canTouchEfiVariables = true;
    grub = {
      enable = true;
      devices = [ "nodev" ];
      efiSupport = true;
      useOSProber = true;
     };
     };
   };
   };
Anonymous user