diff --git a/config/home-manager/base.nix b/config/home-manager/base.nix index 8f942ea7..2b9e1dd5 100644 --- a/config/home-manager/base.nix +++ b/config/home-manager/base.nix @@ -4,6 +4,7 @@ desktop: { pkgs, ... }: { ../programs/vim.nix ../programs/mail.nix ../programs/tmux.nix + ../programs/ssh.nix ]; programs = { zsh = { diff --git a/config/programs/ssh.nix b/config/programs/ssh.nix new file mode 100644 index 00000000..61aea731 --- /dev/null +++ b/config/programs/ssh.nix @@ -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"; + }; + }; +}