zion/modules/devops.nix
coolneng d7a0887a4b
Remove Gitea socket connection to the DB
Revert "Disable wizard on Gitea"

This reverts commit d8b415ee16.

Remove Gitea socket connection to the DB

Disable wizard on Gitea
2019-12-16 20:31:45 +01:00

25 lines
529 B
Nix

# Software development configuration
{ config, pkgs, lib, ... }:
{
environment.systemPackages = with pkgs; [
gitea
];
# 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";
dump.enable = true;
appName = "Gitea";
};
}