diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-12-19 14:46:16 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-12-19 14:46:16 -0800 |
| commit | eaf0353d0907b7d31f9a2e4ed6bb51751fa35e1e (patch) | |
| tree | 89a6e003e6a878ef109d91505c4bd7b82b269fae | |
| parent | install just and add an alias (diff) | |
| download | infra-eaf0353d0907b7d31f9a2e4ed6bb51751fa35e1e.tar.gz | |
fix the configuration for aspell
| -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"; |
