1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2025-01-25 18:35:01 +01:00

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 11ab08541e)
This commit is contained in:
Sebastián Estrella 2025-01-04 03:24:51 -05:00 committed by Robert Helgesson
parent d4b030780a
commit bd65bc3cde
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

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