diff --git a/nix/pkgs/rundeck-bin/module.nix b/nix/pkgs/rundeck-bin/module.nix index 00e7f98fc2..94b4c52817 100644 --- a/nix/pkgs/rundeck-bin/module.nix +++ b/nix/pkgs/rundeck-bin/module.nix @@ -29,10 +29,10 @@ in { systemd.services.rundeckd = { wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; + path = cfg.pathPackages; serviceConfig = { User = cfg.user; DynamicUser = cfg.user != cfg.user; - Path = lib.makeBinPath cfg.pathPackages; ExecStart = "${cfg.package}/bin/rundeckd -b /var/lib/rundeck"; StateDirectory = "rundeck"; };