From a0e9577185cc8a5d940ea56913eda525676c2bc6 Mon Sep 17 00:00:00 2001 From: Swarsel Date: Wed, 28 Aug 2024 17:32:57 +0200 Subject: [PATCH] feat: temp. cgroup v1 for centos7 docker --- profiles/nbl-imba-2/hardware-configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/profiles/nbl-imba-2/hardware-configuration.nix b/profiles/nbl-imba-2/hardware-configuration.nix index 3ac3115..59ee888 100644 --- a/profiles/nbl-imba-2/hardware-configuration.nix +++ b/profiles/nbl-imba-2/hardware-configuration.nix @@ -13,6 +13,10 @@ boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; + boot.kernelParams = [ + "SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1" + "systemd.unified_cgroup_hierarchy=0" + ]; boot.initrd.luks.devices."cryptroot" = { # improve performance on ssds bypassWorkqueues = true;