feat: make zsh startup more performant

This commit is contained in:
Leon Schwarzäugl 2025-06-11 02:31:01 +02:00
parent 6b33a182d8
commit f431d24f81
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
4 changed files with 126 additions and 132 deletions

View file

@ -2,7 +2,10 @@
{
options.swarselsystems.modules.zsh = lib.mkEnableOption "zsh base config";
config = lib.mkIf config.swarselsystems.modules.zsh {
programs.zsh.enable = true;
programs.zsh = {
enable = true;
enableCompletion = false;
};
users.defaultUserShell = pkgs.zsh;
environment.shells = with pkgs; [ zsh ];
environment.pathsToLink = [ "/share/zsh" ];