Merge pull request #13765 from Profpatsch/user-shell-example

modules/users-groups: add shell example
This commit is contained in:
Joachim Schiele 2016-06-25 19:44:23 +02:00 committed by GitHub
commit 9844eb0d98

View file

@ -121,7 +121,13 @@ let
default = pkgs.nologin;
defaultText = "pkgs.nologin";
example = literalExample "pkgs.bashInteractive";
description = "The path to the user's shell.";
description = ''
The path to the user's shell. Can use shell derivations,
like <literal>pkgs.bashInteractive</literal>. Dont
forget to enable your shell in
<literal>programs</literal> if necessary,
like <code>programs.zsh.enable = true;</code>.
'';
};
subUidRanges = mkOption {