diff --git a/modules/programs/ghostty.nix b/modules/programs/ghostty.nix index b2c147cc..9ebaa7b3 100644 --- a/modules/programs/ghostty.nix +++ b/modules/programs/ghostty.nix @@ -120,6 +120,7 @@ in { { "ghostty/config" = lib.mkIf (cfg.settings != { }) { source = keyValue.generate "ghostty-config" cfg.settings; + onChange = "${lib.getExe cfg.package} +validate-config"; }; }