minor
This commit is contained in:
parent
422d2c5967
commit
d619fdcac8
1 changed files with 11 additions and 8 deletions
|
|
@ -1,5 +1,8 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
keyDir = "~/Credentials/ssh_keys";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
home.packages = [ pkgs.openssh ];
|
home.packages = [ pkgs.openssh ];
|
||||||
|
|
||||||
|
|
@ -17,26 +20,26 @@
|
||||||
"github.com" = {
|
"github.com" = {
|
||||||
hostname = "github.com";
|
hostname = "github.com";
|
||||||
user = "git";
|
user = "git";
|
||||||
identityFile = "~/Credentials/ssh_keys/github";
|
identityFile = "${keyDir}/github";
|
||||||
};
|
};
|
||||||
|
|
||||||
"aicloud" = {
|
"aicloud" = {
|
||||||
hostname = "ai-fe02.srv.aau.dk";
|
hostname = "ai-fe02.srv.aau.dk";
|
||||||
user = "hb05nk@cs.aau.dk";
|
user = "hb05nk@cs.aau.dk";
|
||||||
identityFile = "~/Credentials/ssh_keys/aicloud";
|
identityFile = "${keyDir}/aicloud";
|
||||||
proxyJump = "thinkpad";
|
proxyJump = "thinkpad";
|
||||||
};
|
};
|
||||||
|
|
||||||
"aicloud.lan" = {
|
"aicloud.lan" = {
|
||||||
hostname = "ai-fe02.srv.aau.dk";
|
hostname = "ai-fe02.srv.aau.dk";
|
||||||
user = "hb05nk@cs.aau.dk";
|
user = "hb05nk@cs.aau.dk";
|
||||||
identityFile = "~/Credentials/ssh_keys/aicloud";
|
identityFile = "${keyDir}/aicloud";
|
||||||
};
|
};
|
||||||
|
|
||||||
"thinkpad" = {
|
"thinkpad" = {
|
||||||
hostname = "100.116.49.65";
|
hostname = "100.116.49.65";
|
||||||
user = "yanlin";
|
user = "yanlin";
|
||||||
identityFile = "~/Credentials/ssh_keys/thinkpad";
|
identityFile = "${keyDir}/thinkpad";
|
||||||
setEnv = {
|
setEnv = {
|
||||||
TERM = "xterm-256color";
|
TERM = "xterm-256color";
|
||||||
};
|
};
|
||||||
|
|
@ -45,26 +48,26 @@
|
||||||
"vps" = {
|
"vps" = {
|
||||||
hostname = "91.98.84.215";
|
hostname = "91.98.84.215";
|
||||||
user = "yanlin";
|
user = "yanlin";
|
||||||
identityFile = "~/Credentials/ssh_keys/hetzner";
|
identityFile = "${keyDir}/hetzner";
|
||||||
};
|
};
|
||||||
|
|
||||||
"borg-box" = {
|
"borg-box" = {
|
||||||
hostname = "u518619.your-storagebox.de";
|
hostname = "u518619.your-storagebox.de";
|
||||||
user = "u518619";
|
user = "u518619";
|
||||||
port = 23;
|
port = 23;
|
||||||
identityFile = "~/Credentials/ssh_keys/hetzner";
|
identityFile = "${keyDir}/hetzner";
|
||||||
};
|
};
|
||||||
|
|
||||||
"rpi" = {
|
"rpi" = {
|
||||||
hostname = "100.117.162.102";
|
hostname = "100.117.162.102";
|
||||||
user = "yanlin";
|
user = "yanlin";
|
||||||
identityFile = "~/Credentials/ssh_keys/rpi";
|
identityFile = "${keyDir}/rpi";
|
||||||
};
|
};
|
||||||
|
|
||||||
"nfss" = {
|
"nfss" = {
|
||||||
hostname = "10.1.1.152";
|
hostname = "10.1.1.152";
|
||||||
user = "yanlin";
|
user = "yanlin";
|
||||||
identityFile = "~/Credentials/ssh_keys/nas";
|
identityFile = "${keyDir}/nas";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue