commit 96e09b36f48a5bc52c93b0babcfef52387cc9eb4
parent ddb55f9607c9c14658d8ceff9bde10425b8b5bd7
Author: Leah (ctucx) <git@ctu.cx>
Date: Tue, 17 Oct 2023 09:27:06 +0200
parent ddb55f9607c9c14658d8ceff9bde10425b8b5bd7
Author: Leah (ctucx) <git@ctu.cx>
Date: Tue, 17 Oct 2023 09:27:06 +0200
configurations/darwin/uhubDaemon: wait until nix-store is available
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/configurations/darwin/uhubDaemon.nix b/configurations/darwin/uhubDaemon.nix @@ -6,8 +6,11 @@ path = [ config.environment.systemPath ]; serviceConfig = { - ProgramArguments = [ "${pkgs.uhubDaemon}/bin/uhubDaemon" ]; KeepAlive = true; + ProgramArguments = [ + "/bin/sh" "-c" + "/bin/wait4path /nix/store && exec ${pkgs.uhubDaemon}/bin/uhubDaemon" + ]; }; };