From aeda05a8d1eca0ff8b8708d95b0e26f202a93634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Fri, 31 May 2024 15:26:03 +0200 Subject: [PATCH] Restructure --- NixOS/modules/zsh/config.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 NixOS/modules/zsh/config.nix 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"; + }; +}