splits out configuration into central modules

This commit is contained in:
Dennis Schoepf 2025-05-29 18:26:46 +02:00
parent 58ffb417dd
commit b44654b9a2
63 changed files with 20 additions and 20 deletions

26
modules/ssh/default.nix Normal file
View file

@ -0,0 +1,26 @@
{
programs.ssh = {
enable = true;
addKeysToAgent = "yes";
matchBlocks = {
"dnsc-server" = {
hostname = "100.103.199.4";
user = "dennis";
identityFile = "/Users/dennis/.ssh/id_ed25519";
identitiesOnly = true;
};
"dnsc-server-i" = {
hostname = "192.168.178.69";
user = "dennis";
identityFile = "/Users/dennis/.ssh/id_ed25519";
identitiesOnly = true;
};
"dnsc-vps-sm" = {
hostname = "100.65.82.77";
user = "dennis";
identityFile = "/Users/dennis/.ssh/id_ed25519";
identitiesOnly = true;
};
};
};
}