anchor.diff:        # to disable this.
         submenu "Disable display-manager" --class quirk-disable-displaymanager {
           ${grubMenuCfg}
  -        ${buildMenuAdditionalParamsGrub2 config "systemd.mask=display-manager.service"}
  +        ${buildMenuAdditionalParamsGrub2 "systemd.mask=display-manager.service"}
         }
   
         # Some laptop and convertibles have the panel installed in an
  
positive.code:       pkgs.stdenv.hostPlatform.efiArch;
  
    /**
     * Given a `config` and params to add to `params`, build a set of default options.
     * Use this one when creating a variant (e.g. hidpi)
     */
    buildMenuAdditionalParamsGrub2 = config: additional:
    let
      finalCfg = {
        name = "NixOS ${config.system.nixos.label}${config.isoImage.appendToMenuLabel}";
  
negative.code:       submenu "" {return}
        submenu "Rotate framebuffer Clockwise" --class rotate-90cw {
          ${grubMenuCfg}
          ${buildMenuAdditionalParamsGrub2 "fbcon=rotate:1"}
        }
        submenu "Rotate framebuffer Upside-Down" --class rotate-180 {
          ${grubMenuCfg}
          ${buildMenuAdditionalParamsGrub2 "fbcon=rotate:2"}
        }
        submenu "Rotate framebuffer Counter-Clockwise" --class rotate-90ccw {
          ${grubMenuCfg}
          ${buildMenuAdditionalParamsGrub2 "fbcon=rotate:3"}
        }
  
        # As a proof of concept, mainly. (Not sure it has accessibility merits.)
        submenu "" {return}
        submenu "Use black on white" --class accessibility-blakconwhite {
          ${grubMenuCfg}
          ${buildMenuAdditionalParamsGrub2 "vt.default_red=0xFF,0xBC,0x4F,0xB4,0x56,0xBC,0x4F,0x00,0xA1,0xCF,0x84,0xCA,0x8D,0xB4,0x84,0x68 vt.default_grn=0xFF,0x55,0xBA,0xBA,0x4D,0x4D,0xB3,0x00,0xA0,0x8F,0xB3,0xCA,0x88,0x93,0xA4,0x68 vt.default_blu=0xFF,0x58,0x5F,0x58,0xC5,0xBD,0xC5,0x00,0xA8,0xBB,0xAB,0x97,0xBD,0xC7,0xC5,0x68"}
        }
  
        # Serial access is a must!
        submenu "" {return}
        submenu "Serial console=ttyS0,115200n8" --class serial {
          ${grubMenuCfg}
          ${buildMenuAdditionalParamsGrub2 "console=ttyS0,115200n8"}
        }
      }
  
  