added path to all startup_validation services
This commit is contained in:
parent
1b92ecefed
commit
903b71ae59
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user