refactor: link /share/zsh in the zsh config instead of hosts/common/default.nix

This commit is contained in:
2023-01-30 02:32:19 +00:00
parent 216c812f7b
commit 5b1113929a
2 changed files with 3 additions and 2 deletions

View File

@@ -74,8 +74,6 @@
# NIXOS_OZONE_WL = "1";
# LIBGL_ALWAYS_SOFTWARE = "1";
};
# enable zsh completions
environment.pathsToLink = [ "/share/zsh" ];
# link debug symbols into /run/current-system/sw/lib/debug
# hopefully picked up by gdb automatically?

View File

@@ -38,6 +38,9 @@ in
# zsh/prezto complains if zshrc doesn't exist; but it does allow an "empty" file.
sane.fs."/home/colin/.config/zsh/.zshrc" = sane-lib.fs.wantedText "# ";
# enable zsh completions
environment.pathsToLink = [ "/share/zsh" ];
programs.zsh = {
enable = true;
histFile = "$HOME/.local/share/zsh/history";