1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
home-manager/tests/modules/programs/ghostty/example-settings.nix
Martijn Boers 34fe48801d ghostty: Add systemd integration
The systemd unit already exists on the system, this gives the
option to enable it.
2025-11-04 16:56:11 -06:00

18 lines
340 B
Nix

{ config, ... }:
{
programs.ghostty = {
enable = true;
package = config.lib.test.mkStubPackage { outPath = null; };
settings = {
theme = "catppuccin-mocha";
font-size = 10;
};
};
nmt.script = ''
assertFileContent \
home-files/.config/ghostty/config \
${./example-config-expected}
'';
}