Fix zmkBATx at startup
This commit is contained in:
parent
1d4f9fecdc
commit
916cc95918
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@
|
|||
};
|
||||
|
||||
Service = {
|
||||
ExecStart = "sleep 5 && ${lib.getExe pkgs.zmkBATx}";
|
||||
ExecStart = ''
|
||||
${pkgs.runtimeShell} -l -c "${lib.getExe' pkgs.busybox "sleep"} 5 && ${lib.getExe pkgs.zmkBATx}"
|
||||
'';
|
||||
Restart = "on-failure";
|
||||
RestartSec = 3;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue