[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;
|
services.ssh-agent.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,12 +18,15 @@
|
|||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
local act = wezterm.action;
|
local act = wezterm.action;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
color_scheme = "tokyonight_night",
|
color_scheme = "tokyonight_night",
|
||||||
window_background_opacity = 0.80,
|
window_background_opacity = 0.80,
|
||||||
font = wezterm.font "FiraCode Nerd Font",
|
font = wezterm.font "FiraCode Nerd Font",
|
||||||
font_size = 13,
|
font_size = 13,
|
||||||
hide_tab_bar_if_only_one_tab = true,
|
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
|
||||||
keys = {
|
keys = {
|
||||||
-- paste from the clipboard
|
-- paste from the clipboard
|
||||||
|
|||||||
Reference in New Issue
Block a user