Files
nix/hosts/elara/users/nikara/configs/console/ssh/default.nix
2025-02-13 14:22:07 +00:00

15 lines
321 B
Nix

{
user ? throw "user argument is required",
home ? throw "home argument is required",
}:
{ ... }:
{
home-manager.users.${user}.programs.ssh.matchBlocks = {
"cldlgn.fyi.sas.com" = {
inherit user;
hostname = "cldlgn.fyi.sas.com";
identityFile = "${home}/.ssh/ssh_sas_ed25519_key";
};
};
}