mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-05 00:21:04 +01:00
ssh-agent: add macOS support
This commit is contained in:
parent
d7b1ece79d
commit
c053d701d6
15 changed files with 205 additions and 48 deletions
12
tests/modules/services/ssh-agent/linux/timeout-service.nix
Normal file
12
tests/modules/services/ssh-agent/linux/timeout-service.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
services.ssh-agent = {
|
||||
enable = true;
|
||||
defaultMaximumIdentityLifetime = 1337;
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileContent \
|
||||
home-files/.config/systemd/user/ssh-agent.service \
|
||||
${./timeout-service-expected.service}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue