add ssh config for ymir and tartarus

This commit is contained in:
Osman Faruk Bayram 2025-01-13 22:55:09 +03:00
parent 5556453232
commit d3ddc8df9a

View file

@ -19,6 +19,24 @@
userName = "osbm"; userName = "osbm";
}; };
programs.ssh = {
enable = true;
hashKnownHosts = true;
compression = true;
matchBlocks = {
"tartarus" = {
hostname = "192.168.0.4";
user = "osbm";
identityFile = "/home/osbm/.ssh/id_ed25519";
};
"ymir" = {
hostname = "192.168.0.2";
user = "osbm";
identityFile = "/home/osbm/.ssh/id_ed25519";
};
};
};
# This value determines the Home Manager release that your # This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage # configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards # when a new Home Manager release introduces backwards