ghostty: Add systemd integration

The systemd unit already exists on the system, this gives the
option to enable it.
This commit is contained in:
Martijn Boers 2025-11-03 21:33:55 +01:00 committed by Austin Horstman
parent 1c75dd7022
commit 34fe48801d
5 changed files with 56 additions and 2 deletions

View file

@ -1,5 +1,9 @@
{ config, ... }:
{
programs.ghostty.enable = true;
programs.ghostty = {
enable = true;
package = config.lib.test.mkStubPackage { outPath = null; };
};
nmt.script = ''
assertPathNotExists home-files/.config/ghostty/config

View file

@ -2,7 +2,7 @@
{
programs.ghostty = {
enable = true;
package = config.lib.test.mkStubPackage { };
package = config.lib.test.mkStubPackage { outPath = null; };
settings = {
theme = "catppuccin-mocha";

View file

@ -1,6 +1,8 @@
{ config, ... }:
{
programs.ghostty = {
enable = true;
package = config.lib.test.mkStubPackage { outPath = null; };
themes = {
catppuccin-mocha = {