viola: fixes

Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
s0me1newithhand7s 2026-02-08 22:51:47 +03:00
parent e87eabff09
commit 5e96dac497
5 changed files with 17 additions and 18 deletions

View file

@ -1,4 +1,4 @@
{pkgs, ...}: {
{...}: {
services = {
postgresql = {
enable = true;
@ -45,11 +45,11 @@
];
initialScript = ""; # nope
authentication = ""; #nope
settings = {
port = ${dbport};
port = "${dbport}";
};
};
};

View file

@ -5,11 +5,11 @@
servers = {
"forgejo" = {
enable = true;
port = ${cacheport1};
port = "${cacheport1}";
logLevel = "warning";
databases = 16;
maxclients = 10000;
requirePass = ${cachepass1};
requirePass = "${cachepass1}";
settings = {
stop-writes-on-bgsave-error = "yes";
@ -41,11 +41,11 @@
"woodpecker" = {
enable = false;
port = ${cacheport2};
port = "${cacheport2}";
logLevel = "warning";
databases = 16;
maxclients = 10000;
requirePass = ${cachepass2};
requirePass = "${cachepass2}";
settings = {
stop-writes-on-bgsave-error = "yes";
@ -77,11 +77,11 @@
"stalwart" = {
enable = true;
port = ${cacheport3};
port = "${cacheport3}";
logLevel = "warning";
databases = 16;
maxclients = 10000;
requirePass = ${cachepass3};
requirePass = "${cachepass3}";
settings = {
stop-writes-on-bgsave-error = "yes";
@ -113,11 +113,11 @@
"zitadel" = {
enable = true;
port = ${cacheport4};
port = "${cacheport4}";
logLevel = "warning";
databases = 16;
maxclients = 10000;
requirePass = ${cachepass4};
requirePass = "${cachepass4}";
settings = {
stop-writes-on-bgsave-error = "yes";

View file

@ -9,7 +9,7 @@ _: {
challenge = "dns-01";
provider = "cloudflare";
origin = "hand7s.org";
secret = ${mail_secret};
secret = "${mail_secret}";
contact = [
"me@hand7s.org"
];

View file

@ -5,15 +5,15 @@ _: {
environment = {
WOODPECKER_OPEN = "true";
WOODPECKER_DATABASE_DRIVER = "postgres";
WOODPECKER_DATABASE_DATASOURCE = ${pqsql_socket};
WOODPECKER_SERVER_ADDR = ${ciport1};
WOODPECKER_GRPC_ADDR = ${ciport1};
WOODPECKER_DATABASE_DATASOURCE = "${pqsql_socket}";
WOODPECKER_SERVER_ADDR = "${ciport1}";
WOODPECKER_GRPC_ADDR = "${ciport1}";
WOODPECKER_HOST = "https://cicd.hand7s.org";
WOODPECKER_FORGEJO = "true";
WOODPECKER_FORGEJO_URL = "https://git.hand7s.org";
WOODPECKER_FORGEJO_CLIENT = ${cisecret1};
FORGEJO_SECRET = ${cisecret2};
WOODPECKER_FORGEJO_CLIENT = "${cisecret1}";
FORGEJO_SECRET = "${cisecret2}";
};
};
};