diff options
Diffstat (limited to 'user/settings/base.nix')
-rw-r--r-- | user/settings/base.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/user/settings/base.nix b/user/settings/base.nix index 7baeed1e..63780883 100644 --- a/user/settings/base.nix +++ b/user/settings/base.nix @@ -1,4 +1,4 @@ -{ config +args@{ config , lib , pkgs , ... @@ -6,7 +6,10 @@ imports = [ ./neovim.nix ./shell.nix + (import <nix-index-database/home-manager-module.nix> + (args // { databases = import <nix-index-database/packages.nix>; })) ]; + # Let Home Manager install and manage itself. programs.home-manager.enable = true; manual = { @@ -26,7 +29,6 @@ ABDUCO_SOCKET_DIR = "${state}/abduco"; GNUPGHOME = "${data}/gnupg"; SOLARGRAPH_CACHE = "${cache}/solargraph"; - ASPELL_CONF = "per-conf ${conf}/aspell/aspell.conf; personal ${conf}/aspell/en.pws; repl ${conf}/aspell/en.prepl; dict-dir ${config.home.profileDirectory}/lib/aspell"; ELECTRUMDIR = "${data}/electrum"; DOCKER_CONFIG = "${conf}/docker"; npm_config_userconfig = "${conf}/npm/config"; @@ -72,6 +74,7 @@ ]; config = { theme = "ansi"; + style = "header-filename,header-filesize,rule"; }; }; programs.nix-index-database.comma.enable = true; @@ -98,9 +101,11 @@ abduco dvtm walk - (aspellWithDicts (d: [ d.en d.en-computers d.en-science d.de ])) - ] - ++ ( + nuspell + ] ++ (with pkgs.hunspellDicts; [ + en-gb-large + de-de + ]) ++ ( if !stdenv.isDarwin then [ file |