Use latest version of Gitea

This commit is contained in:
2023-03-23 06:56:25 +01:00
parent d0a3ad118f
commit 231a4b663e
3 changed files with 29 additions and 5 deletions

View File

@@ -1,9 +1,10 @@
{ config, pkgs, lib, ... }: {
{ config, pkgs, pkgs-unstable, lib, ... }: {
# Set up Gitea with LFS support
services.gitea = {
enable = true;
domain = "git.coolneng.duckdns.org";
rootUrl = "https://git.coolneng.duckdns.org";
package = pkgs-unstable.gitea;
database = {
type = "postgres";
passwordFile = config.age.secrets.gitea.path;
@@ -18,6 +19,7 @@
ui.DEFAULT_THEME = "arc-green";
session.COOKIE_SECURE = true;
server.DISABLE_SSH = true;
actions.ENABLED = true;
};
};
}