diff --git a/modules/desktop/exwm/default.nix b/modules/desktop/exwm/default.nix index 1ea189ae..8c2c4349 100644 --- a/modules/desktop/exwm/default.nix +++ b/modules/desktop/exwm/default.nix @@ -8,20 +8,12 @@ }: with lib; let cfg = config.modules.desktop.exwm; - - imports = [ - ../dev/editors/emacs - ]; in { options.modules.desktop.exwm = { enable = mkEnableOption false; }; config = mkIf cfg.enable { - # add this just incase - myEmacs.extraEmacsPackage = epkgs: [ - epkgs.exwm - ]; # this needs to be enabled for gtk apps programs.dconf.enable = true; # https://nixos.wiki/wiki/XMonad diff --git a/modules/dev/editors/emacs/default.nix b/modules/dev/editors/emacs/default.nix index aa59cf2f..1b4d69c9 100644 --- a/modules/dev/editors/emacs/default.nix +++ b/modules/dev/editors/emacs/default.nix @@ -18,6 +18,8 @@ with lib; let extraEmacsPackages = epkgs: [ epkgs.use-package epkgs.mu4e + # TODO make this check if EXWM is enabled or not + epkgs.exwm ]; }; in {