added path to all startup_validation services

This commit is contained in:
Richie Cahill 2024-07-08 18:59:39 -04:00 committed by Alice Huston
parent 1b92ecefed
commit 903b71ae59
2 changed files with 14 additions and 2 deletions

View File

@ -1,9 +1,15 @@
{ config, inputs, ... }: {
config,
inputs,
pkgs,
...
}:
{ {
systemd = { systemd = {
services.startup_validation = { services.startup_validation = {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
description = "validates startup"; description = "validates startup";
path = [ pkgs.zfs ];
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
Environment = config.sops.secrets."server-validation/webhook".path; Environment = config.sops.secrets."server-validation/webhook".path;

View File

@ -1,9 +1,15 @@
{ config, inputs, ... }: {
config,
inputs,
pkgs,
...
}:
{ {
systemd = { systemd = {
services.startup_validation = { services.startup_validation = {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
description = "validates startup"; description = "validates startup";
path = [ pkgs.zfs ];
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
Environment = config.sops.secrets."server-validation/webhook".path; Environment = config.sops.secrets."server-validation/webhook".path;