From c691bcd7f37d3ad19465dae8ddc9d4fe69642916 Mon Sep 17 00:00:00 2001 From: chaos Date: Thu, 11 Apr 2024 14:41:45 +0100 Subject: [PATCH] don't enable ksm in containers --- profiles/base/hardware.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/base/hardware.nix b/profiles/base/hardware.nix index 530e3ab..fbe03a8 100644 --- a/profiles/base/hardware.nix +++ b/profiles/base/hardware.nix @@ -16,7 +16,7 @@ in { linux-firmware ]; - ksm.enable = true; + ksm.enable = mkIf (!config.boot.isContainer) true; i2c.enable = true;