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

Merge pull request #1134 from Enzime/push-ynpwzrxomtxw

zsh: enable by default as zsh is the default shell on macOS
This commit is contained in:
Emily 2024-10-31 17:30:35 +00:00 committed by GitHub
commit 8dbda1064b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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.";
}; };