2023-09-11 14:05:02 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
|
|
|
|
|
|
|
# SSH client configuration.
|
|
|
|
programs.ssh = {
|
|
|
|
enable = true;
|
|
|
|
userKnownHostsFile = "~/.ssh/known_hosts ${../assets/ssh/known_hosts}";
|
|
|
|
matchBlocks = {
|
2023-09-21 13:40:08 +02:00
|
|
|
"yodaTab" = {
|
|
|
|
hostname = "192.168.178.33";
|
|
|
|
user = "yoda";
|
|
|
|
port = 22;
|
|
|
|
compression = true;
|
|
|
|
};
|
|
|
|
|
2023-09-26 18:51:17 +02:00
|
|
|
# local IP: 192.168.178.99
|
2023-09-14 14:42:49 +02:00
|
|
|
"yodaYoga" = {
|
2023-09-15 21:20:47 +02:00
|
|
|
hostname = "p1st.de";
|
2023-09-14 14:42:49 +02:00
|
|
|
user = "yoda";
|
2023-09-15 21:31:07 +02:00
|
|
|
port = 2224;
|
|
|
|
compression = true;
|
2023-09-14 14:42:49 +02:00
|
|
|
};
|
2023-09-17 16:36:30 +02:00
|
|
|
"rootYodaYoga" = {
|
|
|
|
hostname = "p1st.de";
|
|
|
|
user = "root";
|
|
|
|
port = 2224;
|
|
|
|
compression = true;
|
|
|
|
};
|
2023-09-15 14:59:55 +02:00
|
|
|
"unlockYodaYoga" = {
|
2023-09-15 21:20:47 +02:00
|
|
|
hostname = "p1st.de";
|
2023-09-15 14:59:55 +02:00
|
|
|
user = "root";
|
2023-09-15 21:31:07 +02:00
|
|
|
port = 2225;
|
|
|
|
compression = true;
|
2023-09-15 14:59:55 +02:00
|
|
|
};
|
2023-09-18 12:44:37 +02:00
|
|
|
|
2023-09-11 17:46:27 +02:00
|
|
|
"pi3bplus" = {
|
|
|
|
hostname = "fckjpbxxim36c1gb.myfritz.net";
|
|
|
|
user = "yoda";
|
|
|
|
port = 22;
|
|
|
|
compression = true;
|
|
|
|
};
|
2023-09-18 12:44:37 +02:00
|
|
|
"rootPi3bplus" = {
|
|
|
|
hostname = "fckjpbxxim36c1gb.myfritz.net";
|
|
|
|
user = "root";
|
|
|
|
port = 22;
|
|
|
|
compression = true;
|
|
|
|
};
|
2023-09-11 17:46:27 +02:00
|
|
|
|
2023-09-15 11:02:44 +02:00
|
|
|
"ejNas" = {
|
|
|
|
hostname = "cloud.ej-altdorf.de";
|
|
|
|
#hostname = "ej-altdorf.spdns.de";
|
|
|
|
user = "yoda";
|
|
|
|
port = 22;
|
|
|
|
compression = true;
|
|
|
|
};
|
2023-09-15 14:32:15 +02:00
|
|
|
"rootEjNas" = {
|
|
|
|
hostname = "cloud.ej-altdorf.de";
|
|
|
|
#hostname = "ej-altdorf.spdns.de";
|
|
|
|
user = "root";
|
|
|
|
port = 22;
|
|
|
|
compression = true;
|
|
|
|
};
|
2023-09-15 11:02:44 +02:00
|
|
|
|
2023-09-26 18:51:17 +02:00
|
|
|
# local IP: 192.168.178.27
|
|
|
|
"yodaNas" = {
|
2023-09-11 14:05:02 +02:00
|
|
|
hostname = "p1st.de";
|
|
|
|
user = "yoda";
|
|
|
|
port = 2222;
|
|
|
|
compression = true;
|
|
|
|
};
|
2023-09-26 18:51:17 +02:00
|
|
|
"rootYodaNas" = {
|
2023-09-11 14:05:02 +02:00
|
|
|
hostname = "p1st.de";
|
|
|
|
user = "root";
|
|
|
|
port = 2222;
|
|
|
|
compression = true;
|
|
|
|
};
|
2023-09-26 18:51:17 +02:00
|
|
|
"unlockYodaNas" = {
|
|
|
|
hostname = "p1st.de";
|
|
|
|
user = "root";
|
|
|
|
port = 2223;
|
|
|
|
compression = true;
|
|
|
|
};
|
2023-09-11 14:05:02 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|