anchor.diff:      '';
   
       serviceConfig = {
  -        ExecStart = "${pkgs.freeradius}/bin/radiusd -f -d ${cfg.configDir} -l stdout -xx";
  +        ExecStart = "${pkgs.freeradius}/bin/radiusd -f -d ${cfg.configDir} -l stdout" +
  +                    optionalString cfg.debug " -xx";
           ExecReload = [
             "${pkgs.freeradius}/bin/radiusd -C -d ${cfg.configDir} -l stdout"
             "${pkgs.coreutils}/bin/kill -HUP $MAINPID"
  
positive.code:       default = "/etc/raddb";
        description = ''
          The path of the freeradius server configuration directory.
        '';
      };
  
  
negative.code:     };
  
      systemd.services.freeradius = freeradiusService cfg;
      warnings = optional cfg.debug "Freeradius debug logging is enabled. This will log passwords in plaintext to the journal!";
  
    };
  
  