{ config, ... }:

{
  services.ssh-agent = {
    enable = true;
    defaultMaximumIdentityLifetime = 1337;
    package = config.lib.test.mkStubPackage { outPath = "@openssh@"; };
  };

  nmt.script = ''
    assertFileContent \
      LaunchAgents/org.nix-community.home.ssh-agent.plist \
      ${./timeout-service-expected.plist}
  '';
}
