fixed identities not being found automatically
This commit is contained in:
parent
c557523bd6
commit
445df7eb5b
|
@ -44,7 +44,10 @@
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
compression = true;
|
compression = true;
|
||||||
addKeysToAgent = "prompt";
|
addKeysToAgent = "confirm";
|
||||||
|
extraConfig = lib.strings.concatLines (
|
||||||
|
builtins.map (hostKey: "IdentityFile ~/.ssh/${hostKey.path}") config.programs.openssh.hostKeys
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services = builtins.listToAttrs (
|
systemd.user.services = builtins.listToAttrs (
|
||||||
|
|
Loading…
Reference in a new issue