nixos/influxdb: Replace custom drv with pkgs.formats.toml

This commit is contained in:
nicoo
2024-12-04 20:43:19 +00:00
parent c6da44da08
commit ce799c73e5
@@ -93,11 +93,7 @@ let
};
} cfg.extraConfig;
configFile = pkgs.runCommandLocal "config.toml" { } ''
${pkgs.buildPackages.remarshal}/bin/remarshal -if json -of toml \
< ${pkgs.writeText "config.json" (builtins.toJSON configOptions)} \
> $out
'';
configFile = (pkgs.formats.toml {}).generate "config.toml" configOptions;
in
{