ghostty: prevent service restarts

Stopping or restarting the service will destroy open Ghostty sessions,
potentially disrupting work. This change ensures that we leave the
existing service untouched.

Fixes #8485
This commit is contained in:
Robert Helgesson 2026-01-06 16:56:30 +01:00
parent 6e94d8157c
commit 4e8b7bef66
4 changed files with 44 additions and 1 deletions

View file

@ -11,6 +11,9 @@
};
nmt.script = ''
servicePath=home-files/.config/systemd/user/app-com.mitchellh.ghostty.service
assertPathNotExists $servicePath
assertFileContent \
home-files/.config/ghostty/config \
${./example-config-expected}