anchor.diff:    config = mkIf cfg.enable {
       systemd.services.gitlab-runner = {
         description = "Gitlab Runner";
  -      after = [ "network.target" "docker.service" ];
  -      requires = [ "docker.service" ];
  +      after = [ "network.target" ]
  +        ++ optional hasDocker "docker.service";
  +      requires = optional hasDocker "docker.service";
         wantedBy = [ "multi-user.target" ];
         serviceConfig = {
           ExecStart = ''${cfg.package.bin}/bin/gitlab-runner run \
  
positive.code: let
    cfg = config.services.gitlab-runner;
    configFile = pkgs.writeText "config.toml" cfg.configText;
  in
  {
    options.services.gitlab-runner = {
  
negative.code: 
      users.extraUsers.gitlab-runner = {
        group = "gitlab-runner";
        extraGroups = optional hasDocker "docker";
        uid = config.ids.uids.gitlab-runner;
        home = cfg.workDir;
        createHome = true;
  