Compare commits
12 commits
4489dc9d09
...
d184d54b07
Author | SHA1 | Date | |
---|---|---|---|
d184d54b07 | |||
3514b47d11 | |||
7024fb9765 | |||
1b576d6245 | |||
20c1f2296f | |||
23e1ae7967 | |||
edc1b7d026 | |||
a3e65e1f97 | |||
2ad55a75ca | |||
957607a5bc | |||
90e6ae6f67 | |||
0d621743cd |
2 changed files with 5 additions and 4 deletions
|
@ -22,6 +22,7 @@
|
||||||
./neofetch.nix
|
./neofetch.nix
|
||||||
./rbw.nix
|
./rbw.nix
|
||||||
./ripgrep.nix
|
./ripgrep.nix
|
||||||
|
./ssh.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
./tmux.nix
|
./tmux.nix
|
||||||
./topgrade.nix
|
./topgrade.nix
|
||||||
|
|
|
@ -3,19 +3,19 @@
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
extraConfig = {
|
|
||||||
identityFile = "%r@%h";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Equivalent of ~/.ssh/config
|
# Equivalent of ~/.ssh/config
|
||||||
|
# %d - local user's home directory
|
||||||
|
# %r - remote username
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
"tty.marleycentre" = {
|
"tty.marleycentre" = {
|
||||||
hostname = "admin.punkfairie.net";
|
hostname = "admin.punkfairie.net";
|
||||||
|
identityFile = "%d/.ssh/%r@marleycentre";
|
||||||
};
|
};
|
||||||
|
|
||||||
"tty.marleynet" = {
|
"tty.marleynet" = {
|
||||||
hostname = "10.69.69.2";
|
hostname = "10.69.69.2";
|
||||||
port = 222;
|
port = 222;
|
||||||
|
identityFile = "%d/.ssh/%r@marleynet";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue