k3s: enable enableUnifiedCgroupHierarchy

This commit is contained in:
ngerstle 2021-08-16 23:34:10 +02:00 committed by Euan Kemp
parent 989e6b7bc1
commit 8aaa0699db

View File

@ -91,11 +91,6 @@ in
virtualisation.docker = mkIf cfg.docker { virtualisation.docker = mkIf cfg.docker {
enable = mkDefault true; enable = mkDefault true;
}; };
# TODO: disable this once k3s supports cgroupsv2, either by docker
# supporting it, or their bundled containerd
systemd.enableUnifiedCgroupHierarchy = false;
environment.systemPackages = [ config.services.k3s.package ]; environment.systemPackages = [ config.services.k3s.package ];
systemd.services.k3s = { systemd.services.k3s = {