feat: add private ssh host config

This commit is contained in:
Michael Mandl 2025-04-08 22:14:47 +02:00
parent 532200060b
commit 642709d33d
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7
2 changed files with 20 additions and 0 deletions

View file

@ -40,5 +40,6 @@
./kitty.nix
./nextcloud.nix
./sway
./private/ssh.nix
];
}

19
private/ssh.nix Normal file
View file

@ -0,0 +1,19 @@
{ ... }:
{
programs = {
ssh = {
enable = true;
matchBlocks = {
tc-0x = {
host = "tc-*";
user = "root";
};
ed-0x = {
host = "ed-*";
user = "root";
};
};
};
};
}