feat(nixos/ssh): add ssh config to home-manager

This commit is contained in:
Mohammad Rafiq 2025-07-07 18:27:03 +08:00
parent 1fe332c302
commit 8fb620284d
No known key found for this signature in database

View file

@ -17,4 +17,12 @@ in
}
{ users.users.root.openssh.authorizedKeys.keys = [ cfg.admin.pubkey ]; }
];
flake.modules.homeManager.default = {
persistDirs = [ ".ssh" ];
programs.ssh.enable = true;
programs.ssh.extraConfig = ''
Host *
SetEnv TERM=xterm-256color
'';
};
}