sign test #6
This commit is contained in:
parent
961deb964c
commit
cd8f5e7778
1 changed files with 15 additions and 11 deletions
|
@ -76,7 +76,10 @@ in {
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(mkIf cfg.agent.enable {
|
(mkIf cfg.agent.enable {
|
||||||
programs.ssh.extraConfig = ''
|
programs.ssh = {
|
||||||
|
enableAskPassword = true;
|
||||||
|
askPassword = "${pkgs.libsForQt5.ksshaskpass}/bin/ksshaskpass";
|
||||||
|
extraConfig = ''
|
||||||
AddKeysToAgent yes
|
AddKeysToAgent yes
|
||||||
|
|
||||||
${concatStrings (mapAttrsToList (name: value: ''
|
${concatStrings (mapAttrsToList (name: value: ''
|
||||||
|
@ -88,6 +91,7 @@ in {
|
||||||
IdentitiesOnly ${if value.identitiesOnly then "yes" else "no"}
|
IdentitiesOnly ${if value.identitiesOnly then "yes" else "no"}
|
||||||
'') cfg.agent.hostAliases)}
|
'') cfg.agent.hostAliases)}
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
systemd.user.services.ssh-agent = {
|
systemd.user.services.ssh-agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue