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:
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…
Add table
Reference in a new issue