nixos/music-assistant: allow to access /proc/cpuinfo which is required for torch to function

Also to display a warning but that is not that important.
This commit is contained in:
Sandro Jäckel
2026-06-29 17:39:32 +02:00
parent 932c63b704
commit 44a1f74259
@@ -173,7 +173,10 @@ in
# breaks pyopenssl's cffi calls, used in remote access feature
# not compatible with llvmlite which is required by numba -> librosa
MemoryDenyWriteExecute = false;
ProcSubset = "pid";
# required for torch to properly detect the supported engines
# allows Music-Assistant to warn, if x86_64-v2 cpu features are missing
BindReadOnlyPaths = [ "/proc/cpuinfo" ];
ProcSubset = "all";
ProtectClock = true;
ProtectControlGroups = true;
ProtectHome = true;