Restructuring
This commit is contained in:
33
Satori/Stuff/sound.nix
Normal file
33
Satori/Stuff/sound.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{lib, config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa = {
|
||||
enable = true;
|
||||
support32Bit = true;
|
||||
};
|
||||
pulse = {
|
||||
enable = true;
|
||||
};
|
||||
config.pipewire = {
|
||||
context.properties = {
|
||||
default.clock.min-quantum = 8;
|
||||
};
|
||||
};
|
||||
config.pipewire-pulse = {
|
||||
context.modules = {
|
||||
pulse.min.req = "4/48000";
|
||||
pulse.min.quantum = "4/24000";
|
||||
};
|
||||
stream.properties = {
|
||||
node.latency = "4/24000";
|
||||
};
|
||||
};
|
||||
};
|
||||
sound.enable = true;
|
||||
# hardware = {
|
||||
# pulseaudio.enable = true;
|
||||
# pulseaudio.support32Bit = true;
|
||||
# };
|
||||
}
|
Reference in New Issue
Block a user