nix-git/modules/nitrokey-ssh-gpg.home.nix

24 lines
450 B
Nix
Raw Normal View History

2023-08-31 14:07:09 +02:00
{ config, pkgs, ... }:
{
home-manager.users.yoda = {
programs.ssh = {
enable = true;
2023-09-02 15:12:08 +02:00
userKnownHostsFile = "~/.ssh/known_hosts ${../assets/ssh/known_hosts}";
2023-08-31 14:07:09 +02:00
matchBlocks = {
"nas" = {
hostname = "p1st.de";
user = "yoda";
port = 2222;
compression = true;
#identityFile = "pubkey_nitrokey_ssh.pub";
#identitiesOnly = true;
};
};
};
};
}