Init
Initial commit, nodes are mostly done, panel is WIP
This commit is contained in:
commit
01b75b0584
73 files changed
+3406
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
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user