From 12edd92a20dd5032cf697b767da3c6ee4386e907 Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Mon, 8 Jul 2024 19:06:44 -0400 Subject: [PATCH] converted startup_validation services to EnvironmentFile --- systems/jeeves-jr/services.nix | 2 +- systems/jeeves/services.nix | 2 +- systems/palatine-hill/services.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/systems/jeeves-jr/services.nix b/systems/jeeves-jr/services.nix index eb98fe1..20dc8e6 100644 --- a/systems/jeeves-jr/services.nix +++ b/systems/jeeves-jr/services.nix @@ -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"; }; }; diff --git a/systems/jeeves/services.nix b/systems/jeeves/services.nix index 337bde0..4de20ec 100644 --- a/systems/jeeves/services.nix +++ b/systems/jeeves/services.nix @@ -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"; }; diff --git a/systems/palatine-hill/services.nix b/systems/palatine-hill/services.nix index 692805c..7a8cd25 100644 --- a/systems/palatine-hill/services.nix +++ b/systems/palatine-hill/services.nix @@ -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"; }; };