anchor.diff:  
       storagePath = mkOption {
         type = types.path;
  -      default = "/var/lib/docker/registry";
  +      default = "/var/lib/docker-registry";
         description = "Docker registry storage path.";
       };
   
  
positive.code:         User = "docker-registry";
          Group = "docker";
          PermissionsStartOnly = true;
        };
  
        preStart = ''
          mkdir -p ${cfg.storagePath}
          if [ "$(id -u)" = 0 ]; then
            chown -R docker-registry:docker ${cfg.storagePath}
          fi
        '';
        postStart = ''
          until ${pkgs.curl}/bin/curl -s -o /dev/null 'http://${cfg.host}:${toString cfg.port}/'; do
            sleep 1;
  
negative.code:     };
  
      users.extraGroups.docker.gid = mkDefault config.ids.gids.docker;
      users.extraUsers.docker-registry = {
        createHome = true;
        home = cfg.storagePath;
        uid = config.ids.uids.docker-registry;
      };
    };
  }
  