# SPDX-FileCopyrightText: 2022 Richard Brežák # # SPDX-License-Identifier: LGPL-3.0-or-later {lib, ...}: with lib; let mkPasswordHashOptions = users: genAttrs users (user: mkOption { description = '' Password hash for user ${user}. ''; type = with types; str; default = ""; }); in { options = { passwordHashes = mkPasswordHashOptions [ "main" ]; }; }