nixos/kubernetes: fix containerd settings
mkDefault must be applied to each setting individually, otherwise a single change to `containerd.settings` replaces the whole attribute set.
This commit is contained in:
parent
b6fbbe768d
commit
6de529c64a
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ in {
|
|||
(mkIf cfg.kubelet.enable {
|
||||
virtualisation.containerd = {
|
||||
enable = mkDefault true;
|
||||
settings = mkDefault defaultContainerdSettings;
|
||||
settings = mapAttrsRecursive (name: mkDefault) defaultContainerdSettings;
|
||||
};
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue