Fixes this error: > Migration Error: Your database (migration version: 299) is for a newer Gitea, you can not use the newer database for this old Gitea release (280). This was probably caused by installing Gitea whilst experimenting again with nixpkgs unstable.
18 lines
242 B
Nix
18 lines
242 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
services.gitea = {
|
|
enable = true;
|
|
package = pkgs.unstable.gitea;
|
|
|
|
settings = {
|
|
server = {
|
|
HTTP_PORT = 2222;
|
|
};
|
|
|
|
service = {
|
|
DISABLE_REGISTRATION = true;
|
|
};
|
|
};
|
|
};
|
|
}
|