From 21b5f7357c3f13535999a7ab94d1c5606d65ef0c Mon Sep 17 00:00:00 2001 From: Timo Bingmann Date: Sun, 21 Sep 2025 09:19:07 -0700 Subject: [PATCH] macos/system: add shells --- system/macos/system.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system/macos/system.nix b/system/macos/system.nix index c078d5c..cb70a37 100644 --- a/system/macos/system.nix +++ b/system/macos/system.nix @@ -95,6 +95,9 @@ # Custom user preferences (these require logout/login to take effect) system.startup.chime = false; # Disable startup sound + # Manage /etc/shells and place add nix version of bash + environment.shells = [ pkgs.bash ]; + system.activationScripts.postActivation.text = '' # Following line should allow us to avoid a logout/login cycle when changing settings sudo -u ${config.system.primaryUser} /System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u