diff options
| author | Fuwn <[email protected]> | 2024-10-03 01:16:26 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-03 01:16:26 -0700 |
| commit | 9989fe08f302f3197ffde8263d23d581e6ee7e74 (patch) | |
| tree | 6dc7bf3727ffaa55fb081ca412f0470e08e7205b /home/ebisu/fortune/system/ssh.nix | |
| parent | modules: reformat (diff) | |
| download | nixos-config-9989fe08f302f3197ffde8263d23d581e6ee7e74.tar.xz nixos-config-9989fe08f302f3197ffde8263d23d581e6ee7e74.zip | |
home: configure multi-host home setup
Diffstat (limited to 'home/ebisu/fortune/system/ssh.nix')
| -rw-r--r-- | home/ebisu/fortune/system/ssh.nix | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/home/ebisu/fortune/system/ssh.nix b/home/ebisu/fortune/system/ssh.nix deleted file mode 100644 index 6a47791..0000000 --- a/home/ebisu/fortune/system/ssh.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ config, secrets, ... }: -{ - programs.ssh = { - enable = true; - addKeysToAgent = "yes"; - serverAliveInterval = 60; - serverAliveCountMax = 10; - - extraConfig = '' - IgnoreUnknown UseKeychain - UseKeychain yes - IPQoS lowdelay throughput - ''; - - matchBlocks = { - "akashi" = { }; - "himeji".user = "root"; - "watson".user = "root"; - - "github.com" = { - user = "git"; - identityFile = "${config.home.homeDirectory}/.ssh/id_rsa"; - }; - - "aur.archlinux.org" = { - user = "aur"; - identityFile = "${config.home.homeDirectory}/.ssh/aur"; - }; - - "seti" = { - user = "root"; - port = 2222; - identityFile = "${config.home.homeDirectory}/.ssh/seti"; - }; - - "oit" = { - inherit (secrets.ssh.oit) hostname user; - }; - - "eu.nixbuild.net" = { - port = 2222; - identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519.1"; - }; - }; - }; -} |