summary refs log tree commit diff
path: root/nixos/modules/rename.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-29 18:57:04 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-29 19:00:39 +0200
commit90dac235bb409e5795aa460b34388c455178035c (patch)
tree33a2ddef37ebc35175d10285f562b3ce8a375bf7 /nixos/modules/rename.nix
parent1235f693ee54221ef5f27c2256215f961d971393 (diff)
downloadnixpkgs-90dac235bb409e5795aa460b34388c455178035c.tar
nixpkgs-90dac235bb409e5795aa460b34388c455178035c.tar.gz
nixpkgs-90dac235bb409e5795aa460b34388c455178035c.tar.bz2
nixpkgs-90dac235bb409e5795aa460b34388c455178035c.tar.lz
nixpkgs-90dac235bb409e5795aa460b34388c455178035c.tar.xz
nixpkgs-90dac235bb409e5795aa460b34388c455178035c.tar.zst
nixpkgs-90dac235bb409e5795aa460b34388c455178035c.zip
Remove the option ‘programs.bash.enable’
NixOS has a pervasive dependency on bash. For instance, the X11
session script sources /etc/profile to get a reasonable
environment. Thus we should not provide an option to disable bash.

Also, enabling zsh no longer sets ‘users.defaultUserShell’ to zsh, to
prevent a collision with bash's definition of the same
option. (Changing the default shell is also something that should be
left to the user.)
Diffstat (limited to 'nixos/modules/rename.nix')
-rw-r--r--nixos/modules/rename.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/rename.nix b/nixos/modules/rename.nix
index 1a0c7c0168c..0ee2caa28ea 100644
--- a/nixos/modules/rename.nix
+++ b/nixos/modules/rename.nix
@@ -128,5 +128,6 @@ in zipModules ([]
 # Options that are obsolete and have no replacement.
 ++ obsolete' [ "boot" "loader" "grub" "bootDevice" ]
 ++ obsolete' [ "boot" "initrd" "luks" "enable" ]
+++ obsolete' [ "programs" "bash" "enable" ]
 
 )