mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-03 23:55:04 +01:00
133 lines
3.2 KiB
Nix
133 lines
3.2 KiB
Nix
{ 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 = {
|
|
"rootHP" = {
|
|
hostname = "192.168.178.108";
|
|
user = "root";
|
|
port = 22;
|
|
compression = false;
|
|
};
|
|
"yodaTab" = {
|
|
hostname = "192.168.178.53";
|
|
user = "yoda";
|
|
port = 22;
|
|
compression = false;
|
|
};
|
|
"yodaEnchilada" = {
|
|
hostname = "192.168.178.25";
|
|
user = "yoda";
|
|
port = 22;
|
|
compression = false;
|
|
};
|
|
|
|
# local IP: 192.168.178.186
|
|
"yodaYoga" = {
|
|
hostname = "yodayoga.p1st.de";
|
|
user = "yoda";
|
|
port = 2224;
|
|
compression = true;
|
|
};
|
|
"rootYoga" = {
|
|
hostname = "yodayoga.p1st.de";
|
|
user = "root";
|
|
port = 2224;
|
|
compression = true;
|
|
};
|
|
"unlockYoga" = {
|
|
hostname = "yodayoga.p1st.de";
|
|
user = "root";
|
|
port = 2225;
|
|
compression = true;
|
|
};
|
|
|
|
"pi3bplus" = {
|
|
hostname = "fckjpbxxim36c1gb.myfritz.net";
|
|
user = "yoda";
|
|
port = 22;
|
|
compression = true;
|
|
};
|
|
"rootPi3bplus" = {
|
|
hostname = "fckjpbxxim36c1gb.myfritz.net";
|
|
user = "root";
|
|
port = 22;
|
|
compression = true;
|
|
};
|
|
|
|
"cx21-bbb" = {
|
|
hostname = "195.201.139.84";
|
|
user = "root";
|
|
port = 22;
|
|
compression = true;
|
|
};
|
|
"cpx11-coturn" = {
|
|
hostname = "157.90.231.213";
|
|
user = "root";
|
|
port = 22;
|
|
compression = true;
|
|
};
|
|
"ejNas" = {
|
|
hostname = "cloud.ej-altdorf.de";
|
|
#hostname = "ej-altdorf.spdns.de";
|
|
user = "yoda";
|
|
port = 22;
|
|
compression = true;
|
|
};
|
|
"rootEjNas" = {
|
|
hostname = "cloud.ej-altdorf.de";
|
|
#hostname = "ej-altdorf.spdns.de";
|
|
user = "root";
|
|
port = 22;
|
|
compression = true;
|
|
};
|
|
|
|
# local IP: 192.168.178.118
|
|
"yodaHedgehog" = {
|
|
hostname = "yodahedgehog.p1st.de";
|
|
user = "yoda";
|
|
port = 2226;
|
|
compression = true;
|
|
};
|
|
"rootHedgehog" = {
|
|
hostname = "yodahedgehog.p1st.de";
|
|
user = "root";
|
|
port = 2226;
|
|
compression = true;
|
|
};
|
|
"unlockHedgehog" = {
|
|
hostname = "yodahedgehog.p1st.de";
|
|
user = "root";
|
|
port = 2227;
|
|
compression = true;
|
|
};
|
|
|
|
# local IP: 192.168.178.119
|
|
"yodaNas" = {
|
|
hostname = "yodanas.p1st.de";
|
|
user = "yoda";
|
|
port = 2222;
|
|
compression = true;
|
|
};
|
|
"rootNas" = {
|
|
hostname = "yodanas.p1st.de";
|
|
user = "root";
|
|
port = 2222;
|
|
compression = true;
|
|
};
|
|
"unlockNas" = {
|
|
hostname = "yodanas.p1st.de";
|
|
user = "root";
|
|
port = 2223;
|
|
compression = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
};
|
|
}
|