From cb9b3fd78877f2bb984d92d7ee50fe5fbb479e44 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 22 Dec 2024 15:32:56 +0100 Subject: [PATCH] nixos/modules: remove a few whitespaces from the pw override parts Otherwise the evaluation warnings have a two or even three lines of whitespace between paragraphs. --- nixos/modules/config/users-groups.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index d225da551663..38d40e99abd6 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -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 @@ -1002,9 +998,7 @@ in { & `hashedPasswordFile` set to a non-null value. ${multiplePasswordsWarning} - ${overrideOrderText cfg.mutableUsers} - The values of these options are: ${concatMapStringsSep "\n"