Restructuring

This commit is contained in:
2021-04-29 21:29:29 +05:30
parent 58cfa66af5
commit ecf68fec43
22 changed files with 496 additions and 27 deletions

33
Satori/Stuff/sound.nix Normal file
View 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;
# };
}