converted startup_validation services to EnvironmentFile

This commit is contained in:
Richie Cahill 2024-07-08 19:06:44 -04:00 committed by Alice Huston
parent 903b71ae59
commit 12edd92a20
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
path = [ pkgs.zfs ];
serviceConfig = {
Type = "oneshot";
Environment = config.sops.secrets."server-validation/webhook".path;
EnvironmentFile = config.sops.secrets."server-validation/webhook".path;
ExecStart = "${inputs.server_tools.packages.x86_64-linux.default}/bin/validate_jeevesjr";
};
};

View File

@ -19,7 +19,7 @@
description = "validates startup";
path = [ pkgs.zfs ];
serviceConfig = {
Environment = config.sops.secrets."server-validation/webhook".path;
EnvironmentFile = config.sops.secrets."server-validation/webhook".path;
Type = "oneshot";
ExecStart = "${inputs.server_tools.packages.x86_64-linux.default}/bin/validate_jeeves";
};

View File

@ -12,7 +12,7 @@
path = [ pkgs.zfs ];
serviceConfig = {
Type = "oneshot";
Environment = config.sops.secrets."server-validation/webhook".path;
EnvironmentFile = config.sops.secrets."server-validation/webhook".path;
ExecStart = "${inputs.server_tools.packages.x86_64-linux.default}/bin/validate_palatine_hill";
};
};