From 903b71ae595f4f3586aef0e6c5a3732d5b3fd1b3 Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Mon, 8 Jul 2024 18:59:39 -0400 Subject: [PATCH] added path to all startup_validation services --- systems/jeeves-jr/services.nix | 8 +++++++- systems/palatine-hill/services.nix | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/systems/jeeves-jr/services.nix b/systems/jeeves-jr/services.nix index ab03607..eb98fe1 100644 --- a/systems/jeeves-jr/services.nix +++ b/systems/jeeves-jr/services.nix @@ -1,9 +1,15 @@ -{ config, inputs, ... }: +{ + config, + inputs, + pkgs, + ... +}: { systemd = { services.startup_validation = { wantedBy = [ "multi-user.target" ]; description = "validates startup"; + path = [ pkgs.zfs ]; serviceConfig = { Type = "oneshot"; Environment = config.sops.secrets."server-validation/webhook".path; diff --git a/systems/palatine-hill/services.nix b/systems/palatine-hill/services.nix index 42b87a6..692805c 100644 --- a/systems/palatine-hill/services.nix +++ b/systems/palatine-hill/services.nix @@ -1,9 +1,15 @@ -{ config, inputs, ... }: +{ + config, + inputs, + pkgs, + ... +}: { systemd = { services.startup_validation = { wantedBy = [ "multi-user.target" ]; description = "validates startup"; + path = [ pkgs.zfs ]; serviceConfig = { Type = "oneshot"; Environment = config.sops.secrets."server-validation/webhook".path;