diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-09 18:02:01 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-09 18:02:01 -0800 |
commit | f418fec2dfed5eaddb47df96788306134b0f09c0 (patch) | |
tree | ba6adefeb831e1fc255c878f1193ef62c0f1beb6 /users/fcuny | |
parent | home-manager: expand zsh configuration (diff) | |
download | world-f418fec2dfed5eaddb47df96788306134b0f09c0.tar.gz |
home-manager: fix path for zsh.nix
Diffstat (limited to 'users/fcuny')
-rw-r--r-- | users/fcuny/zsh.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/users/fcuny/zsh.nix b/users/fcuny/zsh.nix new file mode 100644 index 0000000..be827b4 --- /dev/null +++ b/users/fcuny/zsh.nix @@ -0,0 +1,21 @@ +{config, lib, pkgs, ...}: + +{ + + xdg.configFile."zsh/personal".source = config.lib.file.mkOutOfStoreSymlink ../configs/zsh; + + programs.zsh = { + enable = true; + enableAutosuggestions = true; + enableCompletion = true; + defaultKeymap = "emacs"; + history = { + save = 100000; + extended = true; + ignoreDups = true; + }; + initExtra = '' + source ${config.xdg.configHome}/zsh/personal/init.zsh + ''; + }; +} |