mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
make all daemon settings default
This commit is contained in:
parent
6bbf3b6e0a
commit
f085d82ce0
1 changed files with 3 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue