anchor.diff:    };
   
     instanceToUnit = name: def:
  -    { text = ''
  -      [Exec]
  -      ${attrsToSection def.execConfig}
  +    let base = {
  +      text = ''
  +        [Exec]
  +        ${attrsToSection def.execConfig}
   
  -      [Files]
  -      ${attrsToSection def.filesConfig}
  +        [Files]
  +        ${attrsToSection def.filesConfig}
   
  -      [Network]
  -      ${attrsToSection def.networkConfig}
  -    '';
  -    };
  +        [Network]
  +        ${attrsToSection def.networkConfig}
  +      '';
  +    } // def;
  +    in base // { unit = makeUnit name base; };
   
   in {
   
  
positive.code: 
    config =
      let
        units = mapAttrs' (n: v: nameValuePair "${n}.nspawn" (instanceToUnit n v)) cfg.instances;
      in mkIf (cfg != {}) {
  
        environment.etc."systemd/nspawn".source = generateUnits "nspawn" units [] [];
  
negative.code:   ];
  
    instanceOptions = {
      options = sharedOptions // {
        execConfig = mkOption {
          default = {};
          example = { Parameters = "/bin/sh"; };
  