From c56e5ef8016ff6683c822117ecc8a285c7add5fb Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Thu, 23 Feb 2023 21:05:43 -0500 Subject: [PATCH] nixos/users-groups: update option description to clarify initial* option precedence --- nixos/modules/config/users-groups.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index 352d6e39435b..ee4692fc6a6a 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -273,6 +273,9 @@ let {command}`passwd` command. Otherwise, it's equivalent to setting the {option}`hashedPassword` option. + Note that the {option}`hashedPassword` option will override + this option if both are set. + ${hashedPasswordDescription} ''; }; @@ -291,6 +294,9 @@ let is world-readable in the Nix store, so it should only be used for guest accounts or passwords that will be changed promptly. + + Note that the {option}`password` option will override this + option if both are set. ''; };