From f085d82ce059de61a48d9a14cdc1b56ad8ead0a5 Mon Sep 17 00:00:00 2001 From: Bob van der Linden Date: Wed, 13 Oct 2021 23:12:18 +0200 Subject: [PATCH] make all daemon settings default --- nixos/modules/virtualisation/docker.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/virtualisation/docker.nix b/nixos/modules/virtualisation/docker.nix index 045f05435aed..a69cbe55c784 100644 --- a/nixos/modules/virtualisation/docker.nix +++ b/nixos/modules/virtualisation/docker.nix @@ -233,9 +233,9 @@ in virtualisation.docker.daemon.settings = { group = "docker"; hosts = [ "fd://" ]; - log-driver = cfg.logDriver; - storage-driver = mkIf (cfg.storageDriver != null) cfg.storageDriver; - live-restore = cfg.liveRestore; + log-driver = mkDefault cfg.logDriver; + storage-driver = mkIf (cfg.storageDriver != null) (mkDefault cfg.storageDriver); + live-restore = mkDefault cfg.liveRestore; runtimes = mkIf cfg.enableNvidia { nvidia = { path = "${pkgs.nvidia-docker}/bin/nvidia-container-runtime";