mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Auto add ssh-keys to ssh-agent
This commit is contained in:
parent
903484a4cd
commit
859b016779
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,8 @@
|
||||||
config = lib.mkIf config.myConfig.ssh-client.enable {
|
config = lib.mkIf config.myConfig.ssh-client.enable {
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
addKeysToAgent = "confirm";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.ssh-agent.enable = true;
|
services.ssh-agent.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue