[shared] Remove problematic ssh extraHostnames
This commit is contained in:
@@ -3,19 +3,10 @@
|
||||
lib,
|
||||
systemConfig,
|
||||
systems,
|
||||
common,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs.ssh.knownHosts = builtins.mapAttrs (hostName: system: {
|
||||
extraHostNames = [
|
||||
(
|
||||
if (system ? address && system.address ? tailnet) then
|
||||
system.address.tailnet
|
||||
else
|
||||
common.tailnetAddr hostName
|
||||
)
|
||||
];
|
||||
publicKey = system.ssh.publicKey;
|
||||
}) systems;
|
||||
users.users.${systemConfig.username}.openssh.authorizedKeys.keys = (
|
||||
|
Reference in New Issue
Block a user