fixing service error

This commit is contained in:
Ivan Dimitrov 2023-10-14 09:33:31 +03:00
parent 227dfe600f
commit 14b5f1f461

View File

@ -28,10 +28,12 @@
};
services = {
bingwp = {
Service = {
Unit = {
Type = "oneshot";
Environment = "PATH=${pkgs.nodejs_20}/bin";
ExecStart = "${pkgs.bash}/bin/bash -c '${pkgs.bun}/bin/bunx bingwp'";
};
Service = {
Environment = [ "PATH=${pkgs.nodejs_20}/bin" ];
ExecStart = [ "${pkgs.bash}/bin/bash -c '${pkgs.bun}/bin/bunx bingwp'" ];
};
};
};