Skip to content

Commit bd65bc3

Browse files
sestrellarycee
authored andcommittedJan 8, 2025
ghostty: validate configuration on change
Runs `ghostty +validate-config` when the configuration file changes. Co-authored-by: Heitor Augusto <IAm.HeitorALN@proton.me> (cherry picked from commit 11ab085)
1 parent d4b0307 commit bd65bc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎modules/programs/ghostty.nix

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ in {
120120
{
121121
"ghostty/config" = lib.mkIf (cfg.settings != { }) {
122122
source = keyValue.generate "ghostty-config" cfg.settings;
123+
onChange = "${lib.getExe cfg.package} +validate-config";
123124
};
124125
}
125126

0 commit comments

Comments
 (0)
Please sign in to comment.