anchor.diff:    # configuration file can be generated by http://slurm.schedmd.com/configurator.html
     configFile = pkgs.writeText "slurm.conf" 
       ''
  -    ${cfg.extraConfig}
  +      ${optionalString (cfg.controlMachine != null) ''controlMachine=${cfg.controlMachine}''}
  +      ${optionalString (cfg.controlAddr != null) ''controlAddr=${cfg.controlAddr}''}
  +      ${optionalString (cfg.nodeName != null) ''nodeName=${cfg.nodeName}''}
  +      ${optionalString (cfg.partitionName != null) ''partitionName=${cfg.partitionName}''}
  +      ${cfg.extraConfig}
       '';
   in
   
  
positive.code:           the end of the slurm configuration file.
          '';
        };
  
      };
  
    };
  
negative.code:         ExecStart = "${pkgs.slurm-llnl}/bin/slurmd -f ${configFile}";
          PIDFile = "/run/slurmd.pid";
          ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
        };
      };
  
  