(mirror) personal dotfiles
github.com/crescentrose/dotfiles
1{ config, ... }:
2{
3 programs.nushell = {
4 enable = true;
5
6 settings = {
7 show_banner = false;
8 completions.external = {
9 enable = true;
10 max_results = 200;
11 };
12
13 cursor_shape.emacs = "line";
14
15 history.file_format = "sqlite";
16 history.isolation = true;
17
18 use_kitty_protocol = true;
19 };
20
21 environmentVariables = {
22 EDITOR = "hx";
23 BAT_THEME = "ansi";
24 };
25
26 extraEnv = ''
27 $env.NU_LIB_DIRS ++= ["${config.xdg.dataHome}/scripts/lib"]
28 $env.PATH ++= ["${config.xdg.dataHome}/scripts/bin"]
29 '';
30
31 extraConfig = ''
32 use pm switch # for fast swap between directories
33 '';
34 };
35}