From 30910048821345968b1b3f5e1dd74c82a9113afa Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Sun, 6 Jul 2025 12:40:28 -0500 Subject: [PATCH] made desktopEntries optional --- homeManagerModules/ghostty.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeManagerModules/ghostty.nix b/homeManagerModules/ghostty.nix index e3f88b1..f8ae8b6 100644 --- a/homeManagerModules/ghostty.nix +++ b/homeManagerModules/ghostty.nix @@ -53,7 +53,7 @@ }; # https://github.com/ghostty-org/ghostty/discussions/3763#discussioncomment-11699970 - xdg.desktopEntries."com.mitchellh.ghostty" = { + xdg.desktopEntries."com.mitchellh.ghostty" = lib.mkIf (config.enableShell && config.graphical) { name = "Ghostty"; type = "Application"; comment = "A terminal emulator";