Configure secrets, configure ssh and add H4G0
This commit is contained in:
parent
fdc052d82c
commit
21fa5a8411
8 changed files with 124 additions and 7 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue