15 lines
321 B
Nix
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";
|
|
};
|
|
};
|
|
}
|