dotfiles/modules/nixos/desktop/gitea.nix
Oliver Davies 86fb0c37c4 Fix gitea
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.
2024-11-10 00:12:22 +00:00

19 lines
242 B
Nix

{ pkgs, ... }:
{
services.gitea = {
enable = true;
package = pkgs.unstable.gitea;
settings = {
server = {
HTTP_PORT = 2222;
};
service = {
DISABLE_REGISTRATION = true;
};
};
};
}