add ssh config
This commit is contained in:
parent
86d97d8aca
commit
8a87df73cf
2 changed files with 20 additions and 0 deletions
|
@ -4,6 +4,7 @@ desktop: { pkgs, ... }: {
|
|||
../programs/vim.nix
|
||||
../programs/mail.nix
|
||||
../programs/tmux.nix
|
||||
../programs/ssh.nix
|
||||
];
|
||||
programs = {
|
||||
zsh = {
|
||||
|
|
19
config/programs/ssh.nix
Normal file
19
config/programs/ssh.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ ... }: {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
"build-nas" = {
|
||||
hostname = "backup.int.chir.rs";
|
||||
identitiesOnly = true;
|
||||
identityFile = "~/.ssh/id_ed25519";
|
||||
port = 22;
|
||||
user = "darkkirb";
|
||||
};
|
||||
"build-pc" = {
|
||||
hostname = "nutty-noon.int.chir.rs";
|
||||
identitiesOnly = true;
|
||||
identityFile = "~/.ssh/id_ed25519";
|
||||
port = 22;
|
||||
user = "darkkirb";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue