diff options
author | Profpatsch <mail@profpatsch.de> | 2016-03-08 18:02:15 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2016-06-25 19:41:24 +0200 |
commit | 56664c5fc65ee7e474e1c096e0d6c0dd04b52852 (patch) | |
tree | 2774f3ce0504ed972b1f15c7e638d766b30af91c /nixos | |
parent | 9ef6dceca9c050c1b2477d6d7b28921afe06df2e (diff) | |
download | nixlib-56664c5fc65ee7e474e1c096e0d6c0dd04b52852.tar nixlib-56664c5fc65ee7e474e1c096e0d6c0dd04b52852.tar.gz nixlib-56664c5fc65ee7e474e1c096e0d6c0dd04b52852.tar.bz2 nixlib-56664c5fc65ee7e474e1c096e0d6c0dd04b52852.tar.lz nixlib-56664c5fc65ee7e474e1c096e0d6c0dd04b52852.tar.xz nixlib-56664c5fc65ee7e474e1c096e0d6c0dd04b52852.tar.zst nixlib-56664c5fc65ee7e474e1c096e0d6c0dd04b52852.zip |
modules/users-groups: add shell example
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/config/users-groups.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index 277a4264137b..d92deb85d2a5 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -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>. Don’t + forget to enable your shell in + <literal>programs</literal> if necessary, + like <code>programs.zsh.enable = true;</code>. + ''; }; subUidRanges = mkOption { |