nixos/docker: keep live-restore disabled by default
See https://docs.docker.com/engine/daemon/live-restore/ See https://discourse.nixos.org/t/docker-hanging-on-reboot/18270/5 Closes https://github.com/NixOS/nixpkgs/issues/182916 Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
5900b644bb
commit
77a65d189a
@ -629,6 +629,8 @@
|
|||||||
|
|
||||||
- `lib.misc.mapAttrsFlatten` is now formally deprecated and will be removed in future releases; use the identical [`lib.attrsets.mapAttrsToList`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.attrsets.mapAttrsToList) instead.
|
- `lib.misc.mapAttrsFlatten` is now formally deprecated and will be removed in future releases; use the identical [`lib.attrsets.mapAttrsToList`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.attrsets.mapAttrsToList) instead.
|
||||||
|
|
||||||
|
- `virtualisation.docker.liveRestore` has been renamed to `virtualisation.docker.daemon.settings."live-restore"` and turned off by default for state versions of at least 24.11.
|
||||||
|
|
||||||
- Tailscale's `authKeyFile` can now have its corresponding parameters set through `config.services.tailscale.authKeyParameters`, allowing for non-ephemeral unsupervised deployment and more.
|
- Tailscale's `authKeyFile` can now have its corresponding parameters set through `config.services.tailscale.authKeyParameters`, allowing for non-ephemeral unsupervised deployment and more.
|
||||||
See [Registering new nodes using OAuth credentials](https://tailscale.com/kb/1215/oauth-clients#registering-new-nodes-using-oauth-credentials) for the supported options.
|
See [Registering new nodes using OAuth credentials](https://tailscale.com/kb/1215/oauth-clients#registering-new-nodes-using-oauth-credentials) for the supported options.
|
||||||
|
|
||||||
|
@ -57,7 +57,10 @@ in
|
|||||||
options = {
|
options = {
|
||||||
live-restore = mkOption {
|
live-restore = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = true;
|
# 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\"";
|
||||||
description = ''
|
description = ''
|
||||||
Allow dockerd to be restarted without affecting running container.
|
Allow dockerd to be restarted without affecting running container.
|
||||||
This option is incompatible with docker swarm.
|
This option is incompatible with docker swarm.
|
||||||
@ -68,6 +71,7 @@ in
|
|||||||
default = { };
|
default = { };
|
||||||
example = {
|
example = {
|
||||||
ipv6 = true;
|
ipv6 = true;
|
||||||
|
"live-restore" = true;
|
||||||
"fixed-cidr-v6" = "fd00::/80";
|
"fixed-cidr-v6" = "fd00::/80";
|
||||||
};
|
};
|
||||||
description = ''
|
description = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user