Files
vps-nixos/hosts/common/optional/tg-ws-proxy/config.nix
T
aloslider 67b1571e28 Init
Initial commit, nodes are mostly done, panel is WIP
2026-11-17 10:47:39 +03:00

17 lines
312 B
Nix

{ 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"}
'';
};
}