Skip to content

Commit

Permalink
nixos/modules: remove a few whitespaces from the pw override parts
Browse files Browse the repository at this point in the history
Otherwise the evaluation warnings have a two or even three lines of
whitespace between paragraphs.
  • Loading branch information
Ma27 committed Dec 22, 2024
1 parent b84fb1e commit cb9b3fd
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions nixos/modules/config/users-groups.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,9 @@ let
"*" # password unset
]);

overrideOrderMutable = ''
{option}`initialHashedPassword` -> {option}`initialPassword` -> {option}`hashedPassword` -> {option}`password` -> {option}`hashedPasswordFile`
'';
overrideOrderMutable = ''{option}`initialHashedPassword` -> {option}`initialPassword` -> {option}`hashedPassword` -> {option}`password` -> {option}`hashedPasswordFile`'';

overrideOrderImmutable = ''
{option}`initialHashedPassword` -> {option}`hashedPassword` -> {option}`initialPassword` -> {option}`password` -> {option}`hashedPasswordFile`
'';
overrideOrderImmutable = ''{option}`initialHashedPassword` -> {option}`hashedPassword` -> {option}`initialPassword` -> {option}`password` -> {option}`hashedPasswordFile`'';

overrideOrderText = isMutable: ''
If the option {option}`users.mutableUsers` is
Expand Down Expand Up @@ -1002,9 +998,7 @@ in {
& `hashedPasswordFile` set to a non-null value.
${multiplePasswordsWarning}
${overrideOrderText cfg.mutableUsers}
The values of these options are:
${concatMapStringsSep
"\n"
Expand Down

0 comments on commit cb9b3fd

Please sign in to comment.