From 9b6942c62f2eece5381a39c0e3aaa3463a0e6cc5 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Tue, 9 Mar 2021 01:14:19 +0100 Subject: [PATCH] Only enable fira-code-mode when in window mode --- modules/emacs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/emacs.nix b/modules/emacs.nix index 7578d4c2..ee44538f 100644 --- a/modules/emacs.nix +++ b/modules/emacs.nix @@ -42,7 +42,7 @@ }; fira-code-mode = { enable = true; - config = "(global-fira-code-mode)"; + config = "(when window-system (global-fira-code-mode))"; }; flycheck = { enable = true;