[wezterm] Uses the system SSH-agent over the built-in one.
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
{ ... }:
|
||||
{
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
|
||||
# Automatically add keys to agent when used
|
||||
# Other options are "no" and "confirm"
|
||||
addKeysToAgent = "yes";
|
||||
|
||||
matchBlocks = {
|
||||
"mcp.haven" = {
|
||||
user = "drew";
|
||||
};
|
||||
};
|
||||
};
|
||||
services.ssh-agent.enable = true;
|
||||
}
|
||||
|
||||
@@ -18,12 +18,15 @@
|
||||
enableBashIntegration = true;
|
||||
extraConfig = ''
|
||||
local act = wezterm.action;
|
||||
|
||||
return {
|
||||
color_scheme = "tokyonight_night",
|
||||
window_background_opacity = 0.80,
|
||||
font = wezterm.font "FiraCode Nerd Font",
|
||||
font_size = 13,
|
||||
hide_tab_bar_if_only_one_tab = true,
|
||||
-- Disable the built-in SSH agent in favor of the system one
|
||||
mux_enable_ssh_agent = false,
|
||||
-- Keys
|
||||
keys = {
|
||||
-- paste from the clipboard
|
||||
|
||||
Reference in New Issue
Block a user