anchor.diff:          if [ ! -d ${cfg.stateDir}/conf/locale ]
           then
             mkdir -p ${cfg.stateDir}/conf
  -          cp -r ${pkgs.gitea.out}/locale ${cfg.stateDir}/conf/locale
  +          cp -r ${gitea.out}/locale ${cfg.stateDir}/conf/locale
           fi
         '' + optionalString (usePostgresql && cfg.database.createDatabase) ''
           if ! test -e "${cfg.stateDir}/db-created"; then
  
positive.code:       description = "gitea";
        after = [ "network.target" "postgresql.service" ];
        wantedBy = [ "multi-user.target" ];
        path = [ pkgs.gitea.bin ];
  
        preStart = let
          runConfig = "${cfg.stateDir}/custom/conf/app.ini";
  
negative.code:         User = cfg.user;
          WorkingDirectory = cfg.stateDir;
          PermissionsStartOnly = true;
          ExecStart = "${gitea.bin}/bin/gitea web";
          Restart = "always";
        };
  
  