Use shell packages to select the user's shell

The string type is still available for backward-compatiblity.
This commit is contained in:
zimbatm
2016-06-12 20:35:34 +01:00
parent e2413ad5a8
commit 2974b6f4c8
6 changed files with 43 additions and 20 deletions
+1 -1
View File
@@ -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"