os-config: add zsh to "environment.shells"

This commit is contained in:
Mateusz Słodkowicz 2024-04-06 15:20:44 +02:00
parent 4cd531103a
commit 778fcb1b9d
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ in
options.materus.profile.zsh.enable = materusArg.pkgs.lib.mkBoolOpt true "Enable materus system zsh config"; options.materus.profile.zsh.enable = materusArg.pkgs.lib.mkBoolOpt true "Enable materus system zsh config";
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
users.defaultUserShell = pkgs.zsh; users.defaultUserShell = pkgs.zsh;
environment.shells = [ pkgs.zsh ];
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableGlobalCompInit=false; enableGlobalCompInit=false;