diff --git a/home/config/ssh/default.nix b/home/config/ssh/default.nix index 063ca31..ffe5842 100644 --- a/home/config/ssh/default.nix +++ b/home/config/ssh/default.nix @@ -1,6 +1,7 @@ { imports = [ - ./pvv.nix + ./home.nix ./other.nix + ./pvv.nix ]; } diff --git a/home/config/ssh/home.nix b/home/config/ssh/home.nix new file mode 100644 index 0000000..182b303 --- /dev/null +++ b/home/config/ssh/home.nix @@ -0,0 +1,25 @@ +{ ... }: +{ + programs.ssh.matchBlocks = { + suiseir = { + user = "h7x4"; + hostname = "heimen.hopto.me"; + port = 23934; + }; + pir = { + user = "h7x4"; + hostname = "gingakei.loginto.me"; + port = 41348; + }; + tsukir = { + user = "h7x4"; + hostname = "gingakei.loginto.me"; + port = 45497; + }; + "git.nani.wtf git.tsuki.local git.seiun.cloud" = { + user = "git"; + hostname = "gingakei.loginto.me"; + port = 45497; + }; + }; +} diff --git a/home/config/ssh/other.nix b/home/config/ssh/other.nix index f77ea66..4aa67c6 100644 --- a/home/config/ssh/other.nix +++ b/home/config/ssh/other.nix @@ -1,6 +1,14 @@ { lib, ... }: { programs.ssh.matchBlocks = { + "ntnu" = { + user = "oysteikt"; + hostname = "login.stud.ntnu.no"; + }; + "gitlab.stud.idi.ntnu.no" = { + user = "git"; + proxyJump = "pvv"; + }; "pascal wack" = { user = "h7x4"; hostname = "wiki.wackattack.eu";