aboutsummaryrefslogtreecommitdiff
path: root/home/emacs.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-12-14 06:19:50 -0800
committerFranck Cuny <franck@fcuny.net>2023-12-14 06:19:59 -0800
commit94142ef5780de4a049436de08b8d7e0cd3d04245 (patch)
tree7e55f6a70bba904934a088d43f464bccbb78bdb3 /home/emacs.nix
parentbuild(deps): bump cachix/install-nix-action from 23 to 24 (diff)
downloadinfra-94142ef5780de4a049436de08b8d7e0cd3d04245.tar.gz
simplify the layout
Diffstat (limited to 'home/emacs.nix')
-rw-r--r--home/emacs.nix12
1 files changed, 12 insertions, 0 deletions
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=";
+ };
+}