mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-22 22:09:34 +01:00
24 lines
483 B
Nix
24 lines
483 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
|
|
|
programs.ssh = {
|
|
enable = true;
|
|
userKnownHostsFile = "~/.ssh/known_hosts ${../assets/ssh/known_hosts}";
|
|
matchBlocks = {
|
|
"nas" = {
|
|
hostname = "p1st.de";
|
|
user = "yoda";
|
|
port = 2222;
|
|
compression = true;
|
|
|
|
#identityFile = "pubkey_nitrokey_ssh.pub";
|
|
#identitiesOnly = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
};
|
|
}
|