ghostty: validate configuration on change

Runs `ghostty +validate-config` when the configuration file changes.

Co-authored-by: Heitor Augusto <IAm.HeitorALN@proton.me>
This commit is contained in:
Sebastián Estrella 2025-01-04 03:24:51 -05:00 committed by GitHub
parent a9987622b7
commit 11ab08541e
Failed to generate hash of commit

View file

@ -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";
};
}