In part 2 of NixOS I'll show you how to dual boot and install NixOS on a UEFI system through the configuration file. In this example I've set up NixOS alongside an existing Debian installation.
Don't forget to check out Part 1 if you haven't seen it : • NixOS: How it works and how to instal...
Get NixOS here : http://www.nixos.org
Support my channel on Patreon : / doriandotslash
The code for the Grub configuration settings:
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.grub.enable = true;
boot.loader.grub.devices = [ "nodev" ];
boot.loader.grub.efiInstallAsRemovable = true;
boot.loader.grub.efiSupport = true;
boot.loader.grub.useOSProber = true;