Enable custom sys-devices system feature

This commit is contained in:
2025-08-27 15:48:19 +02:00
parent f3bfe89f27
commit a28eb9ac65
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
{
nix.settings.system-features = [ "sys-devices" ];
programs.nix-required-mounts.enable = true;
programs.nix-required-mounts.allowedPatterns.sys-devices.paths = [
"/sys/devices/system/cpu"
"/sys/devices/system/node"
];
}