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
21 lines
460 B
Nix
21 lines
460 B
Nix
{ config, ... }:
|
|
{
|
|
programs.ghostty = {
|
|
enable = true;
|
|
package = config.lib.test.mkStubPackage { outPath = null; };
|
|
|
|
settings = {
|
|
theme = "catppuccin-mocha";
|
|
font-size = 10;
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
servicePath=home-files/.config/systemd/user/app-com.mitchellh.ghostty.service
|
|
assertPathNotExists $servicePath
|
|
|
|
assertFileContent \
|
|
home-files/.config/ghostty/config \
|
|
${./example-config-expected}
|
|
'';
|
|
}
|