summaryrefslogtreecommitdiffstats
path: root/nixos/modules/programs/bash
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2016-06-12 20:03:14 +0100
committerzimbatm <zimbatm@zimbatm.com>2016-06-12 20:35:34 +0100
commit2974b6f4c8224ab1097e9386d6b3a0d570f95531 (patch)
tree5e096917408ec3b8099685c0db35fa372914d01e /nixos/modules/programs/bash
parente2413ad5a8b6a80e5552306518fdf16e68b6c6d7 (diff)
Use shell packages to select the user's shell
The string type is still available for backward-compatiblity.
Diffstat (limited to 'nixos/modules/programs/bash')
-rw-r--r--nixos/modules/programs/bash/bash.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/bash/bash.nix b/nixos/modules/programs/bash/bash.nix
index e4e264ec0036..c09bcfb70e24 100644
--- a/nixos/modules/programs/bash/bash.nix
+++ b/nixos/modules/programs/bash/bash.nix
@@ -200,7 +200,7 @@ in
# Configuration for readline in bash.
environment.etc."inputrc".source = ./inputrc;
- users.defaultUserShell = mkDefault "/run/current-system/sw/bin/bash";
+ users.defaultUserShell = mkDefault pkgs.bashInteractive;
environment.pathsToLink = optionals cfg.enableCompletion [
"/etc/bash_completion.d"