fix files

This commit is contained in:
soraefir
2026-06-05 21:56:27 +02:00
parent d3ecf03db2
commit 42164ed5d5

View File

@@ -66,7 +66,7 @@ in {
trigger = "server";
envFile = config.sops.secrets."INFLUX".path;
script = pkgs.writeShellScript "setup" ''
cat > ${serverCfg.path.config}/influxdb/config.json << 'EOF'
cat > ${serverCfg.path.config}/influxdb/config.json << EOF
{
"DEFAULT_INFLUX_SERVER": "http://${builder.host}:8181",
"DEFAULT_INFLUX_DATABASE": "main",
@@ -75,7 +75,7 @@ in {
}
EOF
cat > ${serverCfg.path.config}/influxdb/admin-token.json << 'EOF'
cat > ${serverCfg.path.config}/influxdb/admin-token.json << EOF
{
"token": "$INFLUXDB_TOKEN",
"name": "admin",