From 877f3afd610516b26b5bf4a28d5d3828109c26c8 Mon Sep 17 00:00:00 2001 From: fidgetingbits Date: Fri, 29 Nov 2024 21:45:43 +0800 Subject: [PATCH] add missing toString call --- nixos/modules/config/users-groups.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index 9e1ba515710fd..87367092f1b1f 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -66,9 +66,9 @@ let ''; overrideOrderText = isMutable: '' - If the option {option}`users.mutableUsers` is `${isMutable}`, then the order of - precedence is as shown below, where values on the left are overridden by - values on the right: + If the option {option}`users.mutableUsers` is + `${builtins.toString isMutable}`, then the order of precedence is as shown + below, where values on the left are overridden by values on the right: ${if isMutable then overrideOrderMutable else overrideOrderImmutable} '';