diff options
| author | schererleander <leander@schererleander.de> | 2025-05-01 20:29:13 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-05-01 20:29:13 +0200 |
| commit | d21eb546b4f0dce779173d747d9253861516da11 (patch) | |
| tree | 87b556af0fd7fa76a28f91154af13cc0976be0bb | |
| parent | 6b99fa96b9e63b50be71b97ce319eaa36113e061 (diff) | |
improve zsh startup time, add z plugin
| -rw-r--r-- | hosts/nixos/configuration.nix | 2 | ||||
| -rw-r--r-- | modules/zsh.nix | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/hosts/nixos/configuration.nix b/hosts/nixos/configuration.nix index d2307a7..681fc28 100644 --- a/hosts/nixos/configuration.nix +++ b/hosts/nixos/configuration.nix @@ -58,8 +58,8 @@ audio.enable = true; wooting.enable = true; - programs.zsh.enable = true; users.users.leander.shell = pkgs.zsh; + users.users.leander.ignoreShellProgramCheck = true; nix.settings.experimental-features = [ "nix-command" "flakes" ]; nixpkgs.config.allowUnfree = true; diff --git a/modules/zsh.nix b/modules/zsh.nix index 3f4a7b1..d252396 100644 --- a/modules/zsh.nix +++ b/modules/zsh.nix @@ -27,6 +27,7 @@ in { { name = "zpm-zsh/colorize"; } { name = "sindresorhus/pure"; tags = [ "as:theme" "use:pure.zsh" ]; } { name = "zdharma-continuum/fast-syntax-highlighting"; } + { name = "agkozak/zsh-z"; } { name = "zsh-users/zsh-autosuggestions"; } ]; }; |
