nixos/chrony: fix defaultText rendering of enableMemoryLocking option (#420789)

This commit is contained in:
Wolfgang Walther 2025-06-29 15:40:25 +00:00 committed by GitHub
commit ff0515b50b
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.
'';