Configure secrets, configure ssh and add H4G0

This commit is contained in:
Tibo De Peuter 2023-09-10 22:46:34 +02:00 committed by Tibo De Peuter
parent fdc052d82c
commit 21fa5a8411
8 changed files with 124 additions and 7 deletions

View file

@ -5,4 +5,18 @@
enable = true;
passwordAuthentication = false;
};
home-manager.users.tdpeuter = {
programs.ssh = {
enable = true;
matchBlocks = {
"H4G0" = {
hostname = "192.168.0.11";
identitiesOnly = true;
identityFile = "/run/secrets/H4G0/ssh";
user = "admin";
};
};
};
};
}