diff --git a/modules/shared/community-builder.nix b/modules/shared/community-builder.nix index 3f40622..798726e 100644 --- a/modules/shared/community-builder.nix +++ b/modules/shared/community-builder.nix @@ -68,14 +68,17 @@ useBabelfish = true; }; - programs.zsh = { - enable = true; - # https://grml.org/zsh/grmlzshrc.html - # https://grml.org/zsh/grml-zsh-refcard.pdf - interactiveShellInit = '' - source ${pkgs.grml-zsh-config}/etc/zsh/zshrc - ''; - promptInit = ""; # otherwise it'll override the grml prompt - }; + programs.zsh = + { + enable = true; + } + // lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux { + # https://grml.org/zsh/grmlzshrc.html + # https://grml.org/zsh/grml-zsh-refcard.pdf + interactiveShellInit = '' + source ${pkgs.grml-zsh-config}/etc/zsh/zshrc + ''; + promptInit = ""; # otherwise it'll override the grml prompt + }; }; }