anchor.diff:          HOOKS=$(find ${cfg.repositoryRoot} -mindepth 4 -maxdepth 4 -type f -wholename "*git/hooks/*")
           if [ "$HOOKS" ]
           then
  -          sed -ri 's,/nix/store/[a-z0-9.-]+/bin/gitea,${pkgs.gitea.bin}/bin/gitea,g' $HOOKS
  +          sed -ri 's,/nix/store/[a-z0-9.-]+/bin/gitea,${gitea.bin}/bin/gitea,g' $HOOKS
             sed -ri 's,/nix/store/[a-z0-9.-]+/bin/env,${pkgs.coreutils}/bin/env,g' $HOOKS
             sed -ri 's,/nix/store/[a-z0-9.-]+/bin/bash,${pkgs.bash}/bin/bash,g' $HOOKS
             sed -ri 's,/nix/store/[a-z0-9.-]+/bin/perl,${pkgs.perl}/bin/perl,g' $HOOKS
  
positive.code: 
  let
    cfg = config.services.gitea;
    pg = config.services.postgresql;
    usePostgresql = cfg.database.type == "postgres";
    configFile = pkgs.writeText "app.ini" ''
  
negative.code:       description = "gitea";
        after = [ "network.target" "postgresql.service" ];
        wantedBy = [ "multi-user.target" ];
        path = [ gitea.bin ];
  
        preStart = let
          runConfig = "${cfg.stateDir}/custom/conf/app.ini";
  