This commit is contained in:
soraefir
2026-06-05 21:51:39 +02:00
parent adb79a68c5
commit d3ecf03db2

View File

@@ -64,6 +64,7 @@ in {
setup = {
trigger = "server";
envFile = config.sops.secrets."INFLUX".path;
script = pkgs.writeShellScript "setup" ''
cat > ${serverCfg.path.config}/influxdb/config.json << 'EOF'
{
@@ -74,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",