summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-12-24 05:23:07 +0100
committerRory& <root@rory.gay>2024-12-24 05:23:07 +0100
commit3989dcc3f7c1559d12d2b8600461f677f348915f (patch)
tree9cea9ab644d4bca4dc22cdee35d614bb4f0b5bbf /host
parentFix service name (diff)
downloadRory-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.nix6
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"
           ];