make all daemon settings default

This commit is contained in:
Bob van der Linden 2021-10-13 23:12:18 +02:00
parent 6bbf3b6e0a
commit f085d82ce0
No known key found for this signature in database
GPG Key ID: EEBE8E3EC4A31364

View File

@ -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";