mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-07 21:04:09 +09:00
feat
This commit is contained in:
+22
-1
@@ -1,10 +1,31 @@
|
||||
{ config, lib, pkgs, host, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
host,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
home.packages = [ pkgs.openssh ];
|
||||
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
|
||||
matchBlocks = {
|
||||
"grafana.moons14.com" = {
|
||||
host = "grafana.moons14.com";
|
||||
identityFile = "~/.ssh/id_ed25519_sk_rk";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
|
||||
"dev-1.moons14.com" = {
|
||||
host = "dev-1.moons14.com";
|
||||
identityFile = "~/.ssh/id_ed25519_sk_rk";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
};
|
||||
|
||||
extraConfig = ''
|
||||
Host *
|
||||
AddKeysToAgent yes
|
||||
|
||||
Reference in New Issue
Block a user