From 1934a7b85388d422ee38edfbd388fab71fd7cbf8 Mon Sep 17 00:00:00 2001 From: Xe Date: Tue, 24 Jan 2023 22:09:06 -0500 Subject: [PATCH] disable emacs if spacemacs is enabled Signed-off-by: Xe --- common/users/cadey/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/users/cadey/default.nix b/common/users/cadey/default.nix index 6cf6d17..6a5c022 100644 --- a/common/users/cadey/default.nix +++ b/common/users/cadey/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, config, ... }: let name = "Xe"; email = "me@christine.website"; @@ -12,6 +12,7 @@ in { imports = [ ../../home-manager ./spacemacs ]; within = { + emacs.enable = if config.within.spacemacs.enable then false else true; fish.enable = true; htop.enable = true; neofetch.enable = true;