anchor.diff:  
     # GRUB
     boot = {
  +    kernelModules = [];
  +    # Needed for LISH (part 1)
       kernelParams = [ "console=ttyS0" ];
  +    extraModulePackages = [];
  +    initrd = {
  +      availableKernelModules = [ "virtio_pci" "ahci" "sd_mod" ];
  +      kernelModules = [];
  +    };
       loader = {
         timeout = 10;
         grub = {
           enable = true;
           version = 2;
  -        device = "nodev";
  +        device = "/dev/sda";
           copyKernels = true;
  -        fsIdentifier = "label";
  +        fsIdentifier = "provided";
  +        # Needed for LISH (part 2)
           extraConfig = "serial; terminal_input serial; terminal_output serial";
  +        # GRUB will complain about blocklists when trying to install grub on a
  +        # partition-less disk. This tells it to ignore the warning and carry on.
  +        forceInstall = true;
         };
         # Disable globals
         systemd-boot.enable = false;
  
positive.code: #
  # 5. Boot into installer profile.
  #
  # 6. Install dotfiles:
  #      mount /dev/sda /mnt
  #      swapon /dev/sdb
  #      nix-env -iA nixos.git nixos.nixFlakes
  #      mkdir -p /mnt/home/hlissner/.config
  #      cd /mnt/home/hlissner/.config
  #      git clone https://github.com/hlissner/dotfiles
  #      nixos-generate-config --root /mnt
  #      nixos-install --root /mnt --flake .#linode --impure
  #
  # 7. Reboot into "Boot" profile.
  
  { config, lib, pkgs, ... }:
  
  with lib;
  {
    imports = filter pathExists [
      /etc/nixos/hardware-configuration.nix
    ];
  
    environment.systemPackages =
  
negative.code: #    - /dev/sdc -> NixOS
  #
  # 3. Once booted into Finnix (step 2) pipe this script to sh:
  #      iso=https://channels.nixos.org/nixos-20.09/latest-nixos-minimal-x86_64-linux.iso
  #      update-ca-certificates
  #      curl -k $iso | dd bs=1M of=/dev/sda
  #
  