From a96e4d9bfe337cf7b795658ee7409811094a2196 Mon Sep 17 00:00:00 2001 From: Sandro Date: Tue, 5 Nov 2024 11:23:29 +0100 Subject: [PATCH] docker: use lib.versionOlder in literalExpression --- nixos/modules/virtualisation/docker.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/docker.nix b/nixos/modules/virtualisation/docker.nix index 456fd77081e2..741828c7468a 100644 --- a/nixos/modules/virtualisation/docker.nix +++ b/nixos/modules/virtualisation/docker.nix @@ -60,7 +60,7 @@ in # Prior to NixOS 24.11, this was set to true by default, while upstream defaulted to false. # Keep the option unset to follow upstream defaults default = versionOlder config.system.stateVersion "24.11"; - defaultText = literalExpression "versionOlder config.system.stateVersion \"24.11\""; + defaultText = literalExpression "lib.versionOlder config.system.stateVersion \"24.11\""; description = '' Allow dockerd to be restarted without affecting running container. This option is incompatible with docker swarm.