nix-git/yodaTab/nitrokey-ssh-gpg.home.nix
2023-08-31 14:07:09 +02:00

24 lines
443 B
Nix

{ config, pkgs, ... }:
{
home-manager.users.yoda = {
programs.ssh = {
enable = true;
userKnownHostsFile = "~/.ssh/known_hosts ${../ssh/known_hosts}";
matchBlocks = {
"nas" = {
hostname = "p1st.de";
user = "yoda";
port = 2222;
compression = true;
#identityFile = "pubkey_nitrokey_ssh.pub";
#identitiesOnly = true;
};
};
};
};
}