From 50295d90433dd25805d73a3922f32d87d4ac97e7 Mon Sep 17 00:00:00 2001 From: niten Date: Tue, 21 May 2024 10:59:13 -0700 Subject: [PATCH] It's not writeJSON, it's toJSON --- immich-ml-container.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/immich-ml-container.nix b/immich-ml-container.nix index 75fb3a4..8c4eb9b 100644 --- a/immich-ml-container.nix +++ b/immich-ml-container.nix @@ -4,7 +4,7 @@ with lib; let cfg = config.services.immichMlContainer; - immichMlConfigYaml = pkgs.writeJSON "immich-ml-compose.yml" { + immichMlConfigYaml = pkgs.writeText "immich-ml-compose.yml" (pkgs.toJSON { version = "3.4"; networks.default.name = "immich-ml"; volumes = { }; @@ -20,7 +20,7 @@ let restart = "always"; volumes = [ "${cfg.state-directory}:/cache" ]; }; - }; + }); in { options.services.immichMlContainer = with types; {