enable ssh-agent by default
This commit is contained in:
parent
cf870db775
commit
a84861a691
2 changed files with 8 additions and 3 deletions
|
@ -11,7 +11,5 @@
|
||||||
# smartcard support
|
# smartcard support
|
||||||
services.pcscd.enable = false;
|
services.pcscd.enable = false;
|
||||||
hardware.gpgSmartcards.enable = true;
|
hardware.gpgSmartcards.enable = true;
|
||||||
programs.gnupg.agent = {
|
programs.gnupg.agent.enable = true;
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -158,4 +158,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.gnupg.agent.pinentryPackage = pkgs.pinentry-curses;
|
programs.gnupg.agent.pinentryPackage = pkgs.pinentry-curses;
|
||||||
|
programs.ssh = {
|
||||||
|
startAgent = true;
|
||||||
|
enableAskPassword = false;
|
||||||
|
extraConfig = ''
|
||||||
|
AddKeysToAgent yes
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue