From 87c2ff0a3650a2d1c608b8de69bbe1cd7f411edd Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Sun, 22 Oct 2023 14:36:41 +0200 Subject: [PATCH] wezterm: remove automatic config reload call Closes: #4426 --- modules/programs/wezterm.nix | 2 -- tests/modules/programs/wezterm/empty-setting.nix | 2 -- tests/modules/programs/wezterm/example-setting.nix | 2 -- 3 files changed, 6 deletions(-) diff --git a/modules/programs/wezterm.nix b/modules/programs/wezterm.nix index b66028d6d..b02099a6c 100644 --- a/modules/programs/wezterm.nix +++ b/modules/programs/wezterm.nix @@ -100,9 +100,7 @@ in { -- Generated by Home Manager. -- See https://wezfurlong.org/wezterm/ - -- Add config folder to watchlist for config reloads. local wezterm = require 'wezterm'; - wezterm.add_to_config_reload_watch_list(wezterm.config_dir) ${cfg.extraConfig} ''; diff --git a/tests/modules/programs/wezterm/empty-setting.nix b/tests/modules/programs/wezterm/empty-setting.nix index 062605aaa..8e72b3b0e 100644 --- a/tests/modules/programs/wezterm/empty-setting.nix +++ b/tests/modules/programs/wezterm/empty-setting.nix @@ -10,9 +10,7 @@ -- Generated by Home Manager. -- See https://wezfurlong.org/wezterm/ - -- Add config folder to watchlist for config reloads. local wezterm = require 'wezterm'; - wezterm.add_to_config_reload_watch_list(wezterm.config_dir) return {} diff --git a/tests/modules/programs/wezterm/example-setting.nix b/tests/modules/programs/wezterm/example-setting.nix index ec586daa2..60b81fa20 100644 --- a/tests/modules/programs/wezterm/example-setting.nix +++ b/tests/modules/programs/wezterm/example-setting.nix @@ -53,9 +53,7 @@ -- Generated by Home Manager. -- See https://wezfurlong.org/wezterm/ - -- Add config folder to watchlist for config reloads. local wezterm = require 'wezterm'; - wezterm.add_to_config_reload_watch_list(wezterm.config_dir) return { font = wezterm.font("JetBrains Mono"),