nixos/chrony: fix defaultText rendering of enableMemoryLocking option

This commit is contained in:
Sandro 2025-06-28 18:22:12 +02:00 committed by GitHub
parent 30e2e2857b
commit 48f5657fb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -92,7 +92,7 @@ in
default =
config.environment.memoryAllocator.provider != "graphene-hardened"
&& config.environment.memoryAllocator.provider != "graphene-hardened-light";
defaultText = ''config.environment.memoryAllocator.provider != "graphene-hardened" && config.environment.memoryAllocator.provider != "graphene-hardened-light"'';
defaultText = lib.literalExpression ''config.environment.memoryAllocator.provider != "graphene-hardened" && config.environment.memoryAllocator.provider != "graphene-hardened-light"'';
description = ''
Whether to add the `-m` flag to lock memory.
'';