From f418fec2dfed5eaddb47df96788306134b0f09c0 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 9 Feb 2022 18:02:01 -0800 Subject: home-manager: fix path for zsh.nix --- users/fcuny/zsh.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 users/fcuny/zsh.nix (limited to 'users/fcuny') 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 + ''; + }; +} -- cgit 1.4.1