about summary refs log tree commit diff
path: root/nix/users
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-19 14:46:16 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-19 14:46:16 -0800
commiteaf0353d0907b7d31f9a2e4ed6bb51751fa35e1e (patch)
tree89a6e003e6a878ef109d91505c4bd7b82b269fae /nix/users
parentinstall just and add an alias (diff)
downloadworld-eaf0353d0907b7d31f9a2e4ed6bb51751fa35e1e.tar.gz
fix the configuration for aspell
Diffstat (limited to 'nix/users')
-rw-r--r--nix/users/fcuny/shell.nix13
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";