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

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