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,16 @@
|
||||
{ config, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.vps.services.tg-ws-proxy;
|
||||
in
|
||||
{
|
||||
config = mkIf cfg.enable {
|
||||
sops.secrets = {
|
||||
"tg-ws-proxy/secret" = { };
|
||||
};
|
||||
|
||||
sops.templates."tg-ws-proxy.env".content = ''
|
||||
TG_WS_PROXY_SECRET=${config.sops.placeholder."tg-ws-proxy/secret"}
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user