From d294412dd22378849846ce34e1431ac5b8c2940c Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 6 Sep 2023 06:55:33 +0800 Subject: [PATCH] wezterm: set up domains --- wezterm/config/mux_server.lua | 21 +++++++++++++++++++++ wezterm/wezterm.lua | 1 + 2 files changed, 22 insertions(+) create mode 100644 wezterm/config/mux_server.lua diff --git a/wezterm/config/mux_server.lua b/wezterm/config/mux_server.lua new file mode 100644 index 0000000..dc029b0 --- /dev/null +++ b/wezterm/config/mux_server.lua @@ -0,0 +1,21 @@ +-- A configuration set for remote multiplexer-related options. +local module = {} + +function module.apply_to_config(config) + config.unix_domains = { + { name = "unix" }, + } + + config.tls_clients = { + { + name = "mux.foodogsquared.one", + remote_address = "mux.foodogsquared.one:9801", + bootstrap_via_ssh = "plover@mux.foodogsquared.one", + }, + } + + config.default_gui_startup_args = { "connect", "unix" } + return config +end + +return module diff --git a/wezterm/wezterm.lua b/wezterm/wezterm.lua index c031ab4..f328a14 100644 --- a/wezterm/wezterm.lua +++ b/wezterm/wezterm.lua @@ -4,5 +4,6 @@ config:set_strict_mode(true) require("config/base").apply_to_config(config) require("config/keys").apply_to_config(config) require("config/appearance").apply_to_config(config) +require("config/mux_server").apply_to_config(config) return config