From f4252670b18b22527651ec3ee9938a0a99a595c7 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 22 May 2025 00:47:20 -0400 Subject: [PATCH] containers: passthrough /dev/snd/seq Required for MIDI. --- modules/containers.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/containers.nix b/modules/containers.nix index 0e8dfdd4..a37aaac9 100644 --- a/modules/containers.nix +++ b/modules/containers.nix @@ -31,6 +31,11 @@ let mountPoint = hostPath; }; + seq = rec { + hostPath = "/dev/snd/seq"; + mountPoint = hostPath; + }; + dri = rec { hostPath = "/dev/dri"; mountPoint = hostPath; @@ -42,6 +47,10 @@ let modifier = "rw"; node = "/dev/dri/renderD128"; } + { + modifier = "rw"; + node = "/dev/snd/seq"; + } ]; specialArgs = {