fix: resolve deprecated ssh nix home manager option
This commit is contained in:
@@ -24,24 +24,23 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
enableDefaultConfig = false;
|
enableDefaultConfig = false;
|
||||||
|
|
||||||
matchBlocks =
|
settings =
|
||||||
lib.genAttrs hostsWithKeys (
|
lib.genAttrs hostsWithKeys (
|
||||||
hostname:
|
hostname:
|
||||||
let
|
let
|
||||||
meta = myUtils.hostMeta (hostDir + "/${hostname}");
|
meta = myUtils.hostMeta (hostDir + "/${hostname}");
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
host = hostname;
|
User = meta.deployment.targetUser;
|
||||||
user = meta.deployment.targetUser;
|
|
||||||
}
|
}
|
||||||
// lib.optionalAttrs (meta.deployment.targetHost != "") {
|
// lib.optionalAttrs (meta.deployment.targetHost != "") {
|
||||||
hostname = meta.deployment.targetHost;
|
HostName = meta.deployment.targetHost;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
// {
|
// {
|
||||||
"*" = {
|
"*" = {
|
||||||
addKeysToAgent = "yes";
|
AddKeysToAgent = "yes";
|
||||||
forwardAgent = false;
|
ForwardAgent = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user