docker: use lib.versionOlder in literalExpression
This commit is contained in:
parent
12ba522dfd
commit
a96e4d9bfe
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user