Skip to content

Commit

Permalink
fix: remove manual wait4path in nix-daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
will-lol committed Sep 8, 2024
1 parent 99b91e8 commit 6aec084
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions modules/services/nix-daemon.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ in
nix.useDaemon = true;

launchd.daemons.nix-daemon = {
serviceConfig.ProgramArguments = [
"/bin/sh" "-c"
"/bin/wait4path ${config.nix.package}/bin/nix-daemon && exec ${config.nix.package}/bin/nix-daemon"
];
command = "${config.nix.package}/bin/nix-daemon";
serviceConfig.ProcessType = config.nix.daemonProcessType;
serviceConfig.LowPriorityIO = config.nix.daemonIOLowPriority;
serviceConfig.Label = "org.nixos.nix-daemon"; # must match daemon installed by Nix regardless of the launchd label Prefix
Expand Down

0 comments on commit 6aec084

Please sign in to comment.