feat: add private ssh host config
This commit is contained in:
parent
532200060b
commit
642709d33d
2 changed files with 20 additions and 0 deletions
|
@ -40,5 +40,6 @@
|
|||
./kitty.nix
|
||||
./nextcloud.nix
|
||||
./sway
|
||||
./private/ssh.nix
|
||||
];
|
||||
}
|
||||
|
|
19
private/ssh.nix
Normal file
19
private/ssh.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
programs = {
|
||||
ssh = {
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
tc-0x = {
|
||||
host = "tc-*";
|
||||
user = "root";
|
||||
};
|
||||
ed-0x = {
|
||||
host = "ed-*";
|
||||
user = "root";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue