anchor.diff:    config = mkIf cfg.enable {
   
       environment.systemPackages = [ pkgs.taskserver ];
  +
  +    users.users = optional (cfg.user == "taskd") {
  +      name = "taskd";
  +      uid = config.ids.uids.taskd;
  +      description = "Taskserver user";
  +      group = cfg.group;
  +    };
  +
  +    users.groups = optional (cfg.group == "taskd") {
  +      name = "taskd";
  +      gid = config.ids.gids.taskd;
  +    };
   
       systemd.services.taskserver = {
         description = "taskserver Service.";
  
positive.code:       user = mkOption {
          default = "taskd";
          description = "User for taskserver.";
        };
  
        dataDir = mkOption {
  
negative.code:         ExecStart = "${pkgs.taskserver}/bin/taskdctl start";
          ExecStop  = "${pkgs.taskserver}/bin/taskdctl stop";
          User = cfg.user;
          Group = cfg.group;
        };
      };
    };
  