nixos-demo/users/demo/home/ssh.nix

19 lines
282 B
Nix
Raw Normal View History

2025-07-12 00:28:21 +02:00
{ ... }:
{
programs = {
ssh = {
enable = true;
addKeysToAgent = "1h";
hashKnownHosts = true;
matchBlocks = {
gitea = {
hostname = "code.beancloud.de";
user = "gitea";
port = 22;
};
};
};
};
}