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:
parent
a9987622b7
commit
11ab08541e
1 changed files with 1 additions and 0 deletions
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue