diff --git a/modules/default.nix b/modules/default.nix index 85a58b6..bd9d119 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -64,8 +64,14 @@ # Clean temporary files on boot boot.cleanTmpDir = true; - # Set zsh as default shell - programs.zsh.enable = true; + # Set zsh as default shell with reasonable default config for all users + programs.zsh = { + enable = true; + loginShellInit = '' + # do not glob # (conflicts with nix flakes) + disable -p '#' + ''; + }; users.defaultUserShell = pkgs.zsh; environment.etc."zshrc.local".source = "${pkgs.grml-zsh-config}/etc/zsh/zshrc";