1
0

macos/system: add shells

This commit is contained in:
2025-09-21 09:19:07 -07:00
parent 86e02b4e3b
commit 21b5f7357c

View File

@@ -95,6 +95,9 @@
# Custom user preferences (these require logout/login to take effect) # Custom user preferences (these require logout/login to take effect)
system.startup.chime = false; # Disable startup sound 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 = '' system.activationScripts.postActivation.text = ''
# Following line should allow us to avoid a logout/login cycle when changing settings # 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 sudo -u ${config.system.primaryUser} /System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u