mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-07-01 23:27:18 +02:00
fix: try to fix ssh connections
This commit is contained in:
parent
ca80c5104f
commit
c0b6de04ae
1 changed files with 5 additions and 3 deletions
|
@ -12,8 +12,8 @@ with lib;
|
|||
programs.ssh = {
|
||||
enable = true;
|
||||
matchBlocks =
|
||||
lib.mapAttrs (n: v: {
|
||||
hostname = "${n}.${lib.snowfield.${n}.tld}";
|
||||
lib.mapAttrs (_: v: {
|
||||
hostname = if v.ips ? "vpn" then v.ips.vpn.ipv4 else v.ips.public.ipv4;
|
||||
user = v.sshUser;
|
||||
port = v.sshPort;
|
||||
}) lib.snowfield
|
||||
|
@ -34,7 +34,9 @@ with lib;
|
|||
hostname = "ssh.enst.fr";
|
||||
user = "jmalka";
|
||||
};
|
||||
|
||||
ferrari = {
|
||||
hostname = "195.154.212.97";
|
||||
};
|
||||
lame24 = {
|
||||
hostname = "lame24.enst.fr";
|
||||
user = "jmalka";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue