1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

zsh: enable by default as zsh is the default shell on macOS

Historically this was a footgun because users would not always have this
enabled leading to `darwin-rebuild` and other programs not being found.
This commit is contained in:
Michael Hoang 2024-10-31 15:02:36 +11:00
parent b379bd4d87
commit 470f87c182
3 changed files with 3 additions and 5 deletions

View file

@ -23,8 +23,7 @@
# Necessary for using flakes on this system. # Necessary for using flakes on this system.
nix.settings.experimental-features = "nix-command flakes"; nix.settings.experimental-features = "nix-command flakes";
# Create /etc/zshrc that loads the nix-darwin environment. # Enable alternative shell support in nix-darwin.
programs.zsh.enable = true; # default shell on catalina
# programs.fish.enable = true; # programs.fish.enable = true;
# Set Git commit hash for darwin-version. # Set Git commit hash for darwin-version.

View file

@ -15,8 +15,7 @@
# services.nix-daemon.enable = true; # services.nix-daemon.enable = true;
# nix.package = pkgs.nix; # nix.package = pkgs.nix;
# Create /etc/zshrc that loads the nix-darwin environment. # Enable alternative shell support in nix-darwin.
programs.zsh.enable = true; # default shell on catalina
# programs.fish.enable = true; # programs.fish.enable = true;
# Used for backwards compatibility, please read the changelog before changing. # Used for backwards compatibility, please read the changelog before changing.

View file

@ -18,7 +18,7 @@ in
options = { options = {
programs.zsh.enable = mkOption { programs.zsh.enable = mkOption {
type = types.bool; type = types.bool;
default = false; default = true;
description = "Whether to configure zsh as an interactive shell."; description = "Whether to configure zsh as an interactive shell.";
}; };