summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-06-19 15:23:55 +0000
committerGitHub <noreply@github.com>2020-06-19 15:23:55 +0000
commit4e69b0a89934d3516b72ca2175fabe85f6f540d7 (patch)
tree8c212c7f6e4cf3c73d6c1aa55e5badab3f9880e5 /nixos
parentf37b4d24d8872e82564c7b8f0ef5bc90476604d0 (diff)
parenta5e6901702ae08e5bcbe4c7b6574abd559aff6ce (diff)
Merge pull request #89744 from vojta001/traefik-indent-config
traefik: unify TOML generation
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-servers/traefik.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/web-servers/traefik.nix b/nixos/modules/services/web-servers/traefik.nix
index 4ab7307c3b671..0631a26569c8c 100644
--- a/nixos/modules/services/web-servers/traefik.nix
+++ b/nixos/modules/services/web-servers/traefik.nix
@@ -20,10 +20,10 @@ let
     in valueType;
   dynamicConfigFile = if cfg.dynamicConfigFile == null then
     pkgs.runCommand "config.toml" {
-      buildInputs = [ pkgs.remarshal ];
+      buildInputs = [ pkgs.yj ];
       preferLocalBuild = true;
     } ''
-      remarshal -if json -of toml \
+      yj -jt -i \
         < ${
           pkgs.writeText "dynamic_config.json"
           (builtins.toJSON cfg.dynamicConfigOptions)