diff options
author | Rory& <root@rory.gay> | 2024-12-24 05:23:07 +0100 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-12-24 05:23:07 +0100 |
commit | 3989dcc3f7c1559d12d2b8600461f677f348915f (patch) | |
tree | 9cea9ab644d4bca4dc22cdee35d614bb4f0b5bbf /host | |
parent | Fix service name (diff) | |
download | Rory-Open-Architecture-3989dcc3f7c1559d12d2b8600461f677f348915f.tar.xz |
Use full package paths for redpanda
Diffstat (limited to 'host')
-rw-r--r-- | host/Rory-nginx/services/redpanda/systemd-services.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/Rory-nginx/services/redpanda/systemd-services.nix b/host/Rory-nginx/services/redpanda/systemd-services.nix index 797cb31..833fa48 100644 --- a/host/Rory-nginx/services/redpanda/systemd-services.nix +++ b/host/Rory-nginx/services/redpanda/systemd-services.nix @@ -1,4 +1,4 @@ -{ ... }: +{ pkgs, lib, ... }: { services.redpanda-connect.pipelines.systemd-services = { enable = true; @@ -11,9 +11,9 @@ input = { label = ""; subprocess = { - name = "sudo"; + name = lib.getExe pkgs.sudo; args = [ - "systemctl" + "${pkgs.systemd}/bin/systemctl" "-ojson" "--recursive" ]; |