summaryrefslogtreecommitdiffstats
path: root/nixos/modules/config/users-groups.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2016-03-08 18:02:15 +0100
committerProfpatsch <mail@profpatsch.de>2016-06-25 19:41:24 +0200
commit56664c5fc65ee7e474e1c096e0d6c0dd04b52852 (patch)
tree2774f3ce0504ed972b1f15c7e638d766b30af91c /nixos/modules/config/users-groups.nix
parent9ef6dceca9c050c1b2477d6d7b28921afe06df2e (diff)
modules/users-groups: add shell example
Diffstat (limited to 'nixos/modules/config/users-groups.nix')
-rw-r--r--nixos/modules/config/users-groups.nix8
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 {