From 94142ef5780de4a049436de08b8d7e0cd3d04245 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 14 Dec 2023 06:19:50 -0800 Subject: simplify the layout --- home/emacs.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 home/emacs.nix (limited to 'home/emacs.nix') diff --git a/home/emacs.nix b/home/emacs.nix new file mode 100644 index 0000000..dbc5411 --- /dev/null +++ b/home/emacs.nix @@ -0,0 +1,12 @@ +{ lib, config, pkgs, ... }: +{ + home.packages = with pkgs; [ + # see https://github.com/hlissner/doom-emacs/issues/4138 + (aspellWithDicts (dicts: with dicts; [ en en-computers en-science ])) + ]; + + home.sessionVariables = { + EDITOR = "emacsclient -a="; + VISUAL = "emacsclient -a="; + }; +} -- cgit v1.2.3