seperate out home config
This commit is contained in:
parent
8c176c2643
commit
6cf1be302f
9 changed files with 129 additions and 127 deletions
36
home/ssh.nix
Normal file
36
home/ssh.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{pkgs, ...}: {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
hashKnownHosts = true;
|
||||
compression = true;
|
||||
matchBlocks = {
|
||||
"tartarus" = {
|
||||
hostname = "192.168.0.4";
|
||||
user = "osbm";
|
||||
identityFile = "/home/osbm/.ssh/id_ed25519";
|
||||
# setEnv = {
|
||||
# "TERM" = "xterm-256color";
|
||||
# };
|
||||
# extraOptions = { # [ERROR] - (starship::print): Under a 'dumb' terminal (TERM=dumb).
|
||||
# "RemoteCommand" = "fish";
|
||||
# };
|
||||
};
|
||||
"ymir" = {
|
||||
hostname = "192.168.0.2";
|
||||
user = "osbm";
|
||||
identityFile = "/home/osbm/.ssh/id_ed25519";
|
||||
# setEnv = {
|
||||
# "TERM" = "xterm-256color";
|
||||
# };
|
||||
# extraOptions = { # TODO fix the damn starship error
|
||||
# "RemoteCommand" = "fish";
|
||||
# };
|
||||
};
|
||||
"pochita" = {
|
||||
hostname = "192.168.0.9";
|
||||
user = "osbm";
|
||||
identityFile = "/home/osbm/.ssh/id_ed25519";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue