diff --git a/nix/modules/openbao-agent.nix b/nix/modules/openbao-agent.nix index c0b10cd..a19426d 100644 --- a/nix/modules/openbao-agent.nix +++ b/nix/modules/openbao-agent.nix @@ -83,8 +83,8 @@ in # while `vault-agent` is still stopped. This for example happens with nginx.service. stopIfChanged = false; - # Needs getent in PATH - path = [ pkgs.getent ]; + # Needs getent and systemctl in PATH + path = [ pkgs.getent pkgs.systemd ]; serviceConfig = { Restart = "on-failure"; # TODO: cfg.package