Why does `path` never work...?

This commit is contained in:
niten 2023-01-07 14:58:07 -08:00
parent 00bc4d1da7
commit 1271ce614a
1 changed files with 1 additions and 2 deletions

View File

@ -65,7 +65,6 @@ in {
OBJECTIFIER_CLEANUP_MAX_AGE = toString cfg.cleanup.max_file_age;
OBJECTIFIER_CLEANUP_DELAY = toString cfg.cleanup.delay;
};
path = [ pkgs.objectifier ];
serviceConfig = {
# PrivateUsers = true;
# PrivateDevices = true;
@ -95,7 +94,7 @@ in {
(map (addr: "--bind ${addr}:${toString cfg.port}")
cfg.listen-addresses);
in (concatStringsSep " " [
"objectifier"
"${pkgs.objectifier}/bin/objectifier"
bindClause
"--workers ${toString cfg.workers}"
"--pid /run/objectifier.pid"