mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-07-13 20:56:14 +02:00
containers: passthrough /dev/snd/seq
Required for MIDI.
This commit is contained in:
@ -31,6 +31,11 @@ let
|
|||||||
mountPoint = hostPath;
|
mountPoint = hostPath;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
seq = rec {
|
||||||
|
hostPath = "/dev/snd/seq";
|
||||||
|
mountPoint = hostPath;
|
||||||
|
};
|
||||||
|
|
||||||
dri = rec {
|
dri = rec {
|
||||||
hostPath = "/dev/dri";
|
hostPath = "/dev/dri";
|
||||||
mountPoint = hostPath;
|
mountPoint = hostPath;
|
||||||
@ -42,6 +47,10 @@ let
|
|||||||
modifier = "rw";
|
modifier = "rw";
|
||||||
node = "/dev/dri/renderD128";
|
node = "/dev/dri/renderD128";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
modifier = "rw";
|
||||||
|
node = "/dev/snd/seq";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
|
Reference in New Issue
Block a user