Enable nosv system feature

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

9
m/common/base/nosv.nix Normal file
View File

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