anchor.diff:        uid         = config.ids.uids.nagios;
         home        = nagiosState;
         createHome  = true;
  +      group       = "nagios";
       };
  +
  +    users.groups.nagios = { };
   
       # This isn't needed, it's just so that the user can type "nagiostats
       # -c /etc/nagios.cfg".
  
positive.code: 
        preStart = ''
          mkdir -m 0755 -p ${nagiosState} ${nagiosLogDir}
          chown nagios ${nagiosState} ${nagiosLogDir}
        '';
  
        script = ''
  
negative.code: 
        serviceConfig = {
          User = "nagios";
          Group = "nagios";
          Restart = "always";
          RestartSec = 2;
          PermissionsStartOnly = true;
  