Initial commit, nodes are mostly done, panel is WIP
This commit is contained in:
aloslider committed 2026-11-17 11:18:02 +03:00
commit 6761a7c440
73 files changed
+3413

No files matched your search

@@ -0,0 +1,19 @@
{ config, lib, ... }:
with lib;
let
cfg = config.vps.remnawave;
in
{
config = mkIf (cfg.enable && cfg.type == "panel") {
sops.secrets = {
"panel/postgres-password" = { };
};
sops.templates."remnawave-db.env".content = ''
POSTGRES_USER=postgres
POSTGRES_PASSWORD=${config.sops.placeholder."panel/postgres-password"}
POSTGRES_DB=postgres
TZ=UTC
'';
};
}