mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
feat: add secret-backed kmeat ssh config
This commit is contained in:
parent
7be0d2eafc
commit
725e9f6d87
7 changed files with 180 additions and 36 deletions
|
|
@ -7,6 +7,7 @@
|
|||
secrets = {
|
||||
"github_ssh_key" = {};
|
||||
"github_cli_token" = {};
|
||||
"kmeat_mac_mini_ssh_key" = {};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,13 @@
|
|||
identitiesOnly = true;
|
||||
identityFile = [config.sops.secrets."github_ssh_key".path];
|
||||
};
|
||||
"kmeat-mac-mini" = {
|
||||
hostname = "ai.kmeat.com";
|
||||
user = "kmeat";
|
||||
port = 10222;
|
||||
identitiesOnly = true;
|
||||
identityFile = [config.sops.secrets."kmeat_mac_mini_ssh_key".path];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,6 +37,11 @@ config = {
|
|||
mods = "SUPER",
|
||||
action = wezterm.action.ActivateCommandPalette,
|
||||
},
|
||||
{
|
||||
key = "Enter",
|
||||
mods = "ALT",
|
||||
action = wezterm.action.DisableDefaultAssignment,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue