mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
Add option to ssh-agent to add a default value for the maximum lifetime of identities added to the agent.
12 lines
247 B
Nix
12 lines
247 B
Nix
{
|
|
services.ssh-agent = {
|
|
enable = true;
|
|
defaultMaximumIdentityLifetime = 1337;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
home-files/.config/systemd/user/ssh-agent.service \
|
|
${./timeout-service-expected.service}
|
|
'';
|
|
}
|