This commit is contained in:
Richie Cahill 2024-07-08 18:22:58 -04:00 committed by Alice Huston
parent 8b65d7046e
commit 1b92ecefed

View File

@ -17,12 +17,9 @@
startup_validation = { startup_validation = {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
description = "validates startup"; description = "validates startup";
path = [ pkgs.zfs ];
serviceConfig = { serviceConfig = {
Environment = config.sops.secrets."server-validation/webhook".path; Environment = config.sops.secrets."server-validation/webhook".path;
path = [
"${pkgs.zfs}/bin/zfs"
"${pkgs.zfs}/bin/zpool"
];
Type = "oneshot"; Type = "oneshot";
ExecStart = "${inputs.server_tools.packages.x86_64-linux.default}/bin/validate_jeeves"; ExecStart = "${inputs.server_tools.packages.x86_64-linux.default}/bin/validate_jeeves";
}; };