Add dependencies to teslamate
This commit is contained in:
parent
95178c069a
commit
cd23ae3bc9
|
@ -171,7 +171,8 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd = {
|
||||||
|
tmpfiles.rules = [
|
||||||
"d ${cfg.state-directory}/import 0700 ${
|
"d ${cfg.state-directory}/import 0700 ${
|
||||||
toString config.users.users.tesla-mate.uid
|
toString config.users.users.tesla-mate.uid
|
||||||
} root - -"
|
} root - -"
|
||||||
|
@ -183,6 +184,14 @@ in {
|
||||||
} root - -"
|
} root - -"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.arion-teslamate = {
|
||||||
|
after =
|
||||||
|
[ "fudo-secrets.target" "network-online.target" "podman.service" ];
|
||||||
|
requires = [ "network-online.target" "podman.service" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
virtualisation.arion.projects.teslamate.settings = let
|
virtualisation.arion.projects.teslamate.settings = let
|
||||||
teslaMateImage = makeTeslaMateImage {
|
teslaMateImage = makeTeslaMateImage {
|
||||||
teslaMateImage = cfg.images.tesla-mate;
|
teslaMateImage = cfg.images.tesla-mate;
|
||||||
|
|
Loading…
Reference in New Issue