diff options
-rw-r--r-- | nix/users/fcuny/shell.nix | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/nix/users/fcuny/shell.nix b/nix/users/fcuny/shell.nix index 374a466..b7d30d0 100644 --- a/nix/users/fcuny/shell.nix +++ b/nix/users/fcuny/shell.nix @@ -1,4 +1,8 @@ -{ config, pkgs, ... }: +{ + lib, + pkgs, + ... +}: let isLinux = pkgs.stdenv.isLinux; in @@ -88,7 +92,12 @@ in }; home.sessionVariables = { - ASPELL_CONF = "conf ${config.xdg.configHome}/aspell/config;"; + ASPELL_CONF = "dict-dir ${ + pkgs.buildEnv { + name = "aspell-all-dicts"; + paths = lib.collect lib.isDerivation pkgs.aspellDicts; + } + }/lib/aspell"; EDITOR = "emacsclient -a="; HOMEBREW_NO_AUTO_UPDATE = 1; LESS = "-FRSXM"; |