From 2ace509cbe9da137ac41607a3eed00a9b7e5149f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Bon=C3=A9?= Date: Mon, 6 Oct 2025 17:19:27 +0200 Subject: [PATCH] Add sysDevicesSupport to nixpkgs overlay --- m/common/base/sys-devices.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/m/common/base/sys-devices.nix b/m/common/base/sys-devices.nix index 414d8b6..41fa007 100644 --- a/m/common/base/sys-devices.nix +++ b/m/common/base/sys-devices.nix @@ -6,4 +6,10 @@ "/sys/devices/system/cpu" "/sys/devices/system/node" ]; + + # similar to cudaSupport, this can be used to activate certain features + # conditionally. + nixpkgs.overlays = [ + (final: prev: { sysDevicesSupport = true; }) + ]; }