diff --git a/NixOS/modules/zsh/config.nix b/NixOS/modules/zsh/config.nix new file mode 100644 index 0000000..9536e39 --- /dev/null +++ b/NixOS/modules/zsh/config.nix @@ -0,0 +1,21 @@ +{ + home.packages = with pkgs; [ + fzf + fzy + zoxide + curl + ]; + + programs.zsh = { + enable = true; + enableCompletion = true; + syntaxHighlighting.enable = true; + autosuggestion.enable = true; + + shellAliases = { + ll = "ls -lhat"; + }; + history.size = 10000; + history.path = "${config.xdg.dataHome}/zsh/history"; + }; +}