Compare commits
11 commits
d184d54b07
...
4489dc9d09
Author | SHA1 | Date | |
---|---|---|---|
4489dc9d09 | |||
5f36ae60e5 | |||
cdc31f6d52 | |||
4f712fea76 | |||
4741fd7209 | |||
b2e9ecabb4 | |||
cdb28e84ab | |||
a5e23fd301 | |||
5967cefc5e | |||
95c6383196 | |||
7c7597fe2d |
2 changed files with 4 additions and 5 deletions
|
@ -22,7 +22,6 @@
|
|||
./neofetch.nix
|
||||
./rbw.nix
|
||||
./ripgrep.nix
|
||||
./ssh.nix
|
||||
./starship.nix
|
||||
./tmux.nix
|
||||
./topgrade.nix
|
||||
|
|
|
@ -3,19 +3,19 @@
|
|||
programs.ssh = {
|
||||
enable = true;
|
||||
|
||||
extraConfig = {
|
||||
identityFile = "%r@%h";
|
||||
};
|
||||
|
||||
# Equivalent of ~/.ssh/config
|
||||
# %d - local user's home directory
|
||||
# %r - remote username
|
||||
matchBlocks = {
|
||||
"tty.marleycentre" = {
|
||||
hostname = "admin.punkfairie.net";
|
||||
identityFile = "%d/.ssh/%r@marleycentre";
|
||||
};
|
||||
|
||||
"tty.marleynet" = {
|
||||
hostname = "10.69.69.2";
|
||||
port = 222;
|
||||
identityFile = "%d/.ssh/%r@marleynet";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue