anchor.diff:  { config, pkgs, ... }:
   
   with pkgs.lib;
  -
  +let
  +  diskSize = "200G";
  +in
   {
     imports = [ ../profiles/headless.nix ../profiles/qemu-guest.nix ];
   
  
positive.code:             ''
                mkdir $out
                diskImage=$out/$diskImageBase
                truncate $diskImage --size 10G
                mv closure xchg/
              '';
  
  
negative.code:         ''
            # Create partition table
            ${pkgs.parted}/sbin/parted /dev/vda mklabel msdos
            ${pkgs.parted}/sbin/parted /dev/vda mkpart primary ext4 1 ${diskSize}
            ${pkgs.parted}/sbin/parted /dev/vda print
            . /sys/class/block/vda1/uevent
            mknod /dev/vda1 b $MAJOR $MINOR
  