From 86fb0c37c4f90cb632006fef670e75f91f145f7c Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 10 Nov 2024 00:12:22 +0000 Subject: [PATCH] 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. --- modules/nixos/desktop/gitea.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/nixos/desktop/gitea.nix b/modules/nixos/desktop/gitea.nix index ed5b0d4..2f62220 100644 --- a/modules/nixos/desktop/gitea.nix +++ b/modules/nixos/desktop/gitea.nix @@ -1,6 +1,9 @@ +{ pkgs, ... }: + { services.gitea = { enable = true; + package = pkgs.unstable.gitea; settings = { server = {