feat(nixos/ssh): add ssh config to home-manager
This commit is contained in:
parent
1fe332c302
commit
8fb620284d
1 changed files with 8 additions and 0 deletions
|
@ -17,4 +17,12 @@ in
|
||||||
}
|
}
|
||||||
{ users.users.root.openssh.authorizedKeys.keys = [ cfg.admin.pubkey ]; }
|
{ 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
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue