{ inputs, config, pkgs, lib, ... }: { launchd.user.agents.uhubDaemon = { path = [ config.environment.systemPath ]; serviceConfig = { KeepAlive = true; ProgramArguments = [ "/bin/sh" "-c" "/bin/wait4path /nix/store && exec ${pkgs.uhubDaemon}/bin/uhubDaemon" ]; }; }; }