mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-21 16:31:10 +01:00
If another systemd unit wants to talk to the ssh-agent service, they need to know the SSH_AUTH_SOCK variable to do so.
12 lines
270 B
Nix
12 lines
270 B
Nix
{
|
|
services.ssh-agent = {
|
|
enable = true;
|
|
defaultMaximumIdentityLifetime = 1337;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
$(normalizeStorePaths home-files/.config/systemd/user/ssh-agent.service) \
|
|
${./timeout-service-expected.service}
|
|
'';
|
|
}
|