Enable custom sys-devices system feature #181

Manually merged
abonerib merged 3 commits from abonerib/jungle:nosv-sys-feature into master 2025-10-09 11:49:07 +02:00
2 changed files with 10 additions and 0 deletions
Showing only changes of commit 98d17b19d3 - Show all commits

View File

@@ -11,6 +11,7 @@
./base/hw.nix
./base/net.nix
./base/nix.nix
./base/sys-devices.nix
./base/ntp.nix
./base/rev.nix
./base/ssh.nix

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"
];
}