ctucx.git: nixfiles

ctucx' nixfiles

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
{ 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"
      ];
    };
  };

}