Formatting

This commit is contained in:
niten 2023-07-22 10:38:50 -07:00
parent 963fe60013
commit fe64d3ad81
1 changed files with 13 additions and 17 deletions

View File

@ -143,23 +143,19 @@ in {
}; };
}; };
virtualisation = { virtualisation.arion.projects.teslamate.settings = let
arion = { teslaMateImage = makeTeslaMateImage {
projects.teslamate.settings = let teslaMateImage = cfg.images.tesla-mate;
teslaMateImage = makeTeslaMateImage { postgresImage = cfg.images.postgres;
teslaMateImage = cfg.images.tesla-mate; grafanaImage = cfg.images.grafana;
postgresImage = cfg.images.postgres; stateDirectory = cfg.state-directory;
grafanaImage = cfg.images.grafana; teslaMateEnvFile = hostSecrets.teslaMateEnv.target-file;
stateDirectory = cfg.state-directory; postgresEnvFile = hostSecrets.teslaMatePostgresEnv.target-file;
teslaMateEnvFile = hostSecrets.teslaMateEnv.target-file; grafanaEnvFile = hostSecrets.teslaMateGrafanaEnv.target-file;
postgresEnvFile = hostSecrets.teslaMatePostgresEnv.target-file; teslaMateUid = config.users.users.tesla-mate.uid;
grafanaEnvFile = hostSecrets.teslaMateGrafanaEnv.target-file; teslaMatePostgresUid = config.users.users.tesla-mate-postgres.uid;
teslaMateUid = config.users.users.tesla-mate.uid; teslaMateGrafanaUid = config.users.users.tesla-mate-grafana.uid;
teslaMatePostgresUid = config.users.users.tesla-mate-postgres.uid;
teslaMateGrafanaUid = config.users.users.tesla-mate-grafana.uid;
};
in { imports = [ teslaMateImage ]; };
}; };
}; in { imports = [ teslaMateImage ]; };
}; };
} }