reconfigure sternchen

This commit is contained in:
Ingolf Wagner 2023-08-14 03:29:02 +02:00
commit b8af70ffc7
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
8 changed files with 34 additions and 118 deletions
nixos/components/network/tinc

View file

@ -33,7 +33,7 @@ in
};
cream = {
subnets = [{ address = hosts.cream; }];
settings.Ed25519PublicKey = "";
settings.Ed25519PublicKey = "Y/YRA90mAlNEmdhUWlUTHjjsco6d6hlvW11sPtarIdL";
};
sterni = {
subnets = [{ address = hosts.sterni; }];
@ -65,6 +65,10 @@ in
networking.extraHosts = concatStringsSep "\n" (mapAttrsToList (name: ip: "${ip} ${name}.${network}") hosts);
services.openssh.knownHosts = {
"cream.${network}" = {
hostNames = [ "cream.${network}" hosts.cream ];
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIConHiCL7INgAhuN6Z9TqP0zP+xNpdV7+OHwUca4IRDD";
};
"sternchen.${network}" = {
hostNames = [ "sterni.${network}" hosts.sterni ];
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILriD/0+65L1mkbjKENwpvB3wUMXz/rEf9J8wuJjJa0q";