zion/modules/devops.nix

22 lines
486 B
Nix

# Software development configuration
{ config, pkgs, lib, ... }:
{
# Gitea setup with daily backup
services.gitea = {
enable = true;
domain = "coolneng.duckdns.org";
rootUrl = "https://coolneng.duckdns.org/gitea";
database = {
type = "postgres";
passwordFile = "/var/keys/gitea/db";
};
cookieSecure = true;
disableRegistration = true;
repositoryRoot = "/vault/git";
appName = "Gitea";
dump = {
enable = false;
};
};
}