1
Fork 0
nixos-system-config/packages/gitlab/package.nix

27 lines
713 B
Nix
Raw Normal View History

2023-07-01 15:08:00 +02:00
{ ... }:
{
services.gitlab = {
enable = true;
host = "gitlab.dirae.org";
# Server is running on limited budet :,)
# https://docs.gitlab.com/omnibus/settings/memory_constrained_envs.html
puma.workers = 0;
2023-07-19 22:25:34 +02:00
puma.threadsMax = 1;
2023-07-01 15:08:00 +02:00
user = "gitlab";
group = "gitlab";
https = true;
databasePasswordFile = "/var/keys/gitlab/db_password";
initialRootPasswordFile = "/var/keys/gitlab/root_password";
secrets = {
dbFile = "/var/keys/gitlab/db";
secretFile = "/var/keys/gitlab/secret";
otpFile = "/var/keys/gitlab/otp";
jwsFile = "/var/keys/gitlab/jws";
};
};
}