From 98496b8ac22824c726cd721dfc8858f8d5590eb0 Mon Sep 17 00:00:00 2001 From: niten Date: Sat, 22 Jul 2023 11:58:05 -0700 Subject: [PATCH] user should be string, not list --- tesla-mate-container.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tesla-mate-container.nix b/tesla-mate-container.nix index 94bb380..0f52100 100644 --- a/tesla-mate-container.nix +++ b/tesla-mate-container.nix @@ -24,7 +24,7 @@ let restart = "always"; volumes = [ "${stateDirectory}/import:/opt/app/import" ]; ports = [ "4000:4000" ]; - user = [ "${toString teslaMateUid}:${toString teslaMateUid}" ]; + user = "${toString teslaMateUid}:${toString teslaMateUid}"; env_file = [ teslaMateEnvFile ]; cap_drop = "all"; }; @@ -35,7 +35,7 @@ let restart = "always"; volumes = [ "${stateDirectory}/postgres:/var/lib/postgresql/data" ]; env_file = [ postgresEnvFile ]; - user = [ "${toString postgresUid}:${toString postgresUid}" ]; + user = "${toString postgresUid}:${toString postgresUid}"; }; }; grafana = { @@ -44,7 +44,7 @@ let restart = "always"; volumes = [ "${stateDirectory}/grafana:/var/lib/grafana" ]; env_file = [ grafanaEnvFile ]; - user = [ "${toString grafanaUid}:${toString grafanaUid}" ]; + user = "${toString grafanaUid}:${toString grafanaUid}"; ports = [ "3000:3000" ]; }; };