diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix
index 277a4264137..d92deb85d2a 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 pkgs.bashInteractive. Don’t
+ forget to enable your shell in
+ programs if necessary,
+ like programs.zsh.enable = true;
.
+ '';
};
subUidRanges = mkOption {