Anthony Rodriguez
8fe0604299
Refactored the entire repository structure, as putting everything into modules was just awkward. Took heavy inspiration from fufexan's repository, fufexan/dotfiles, as the structure felt much saner.
22 lines
593 B
Nix
22 lines
593 B
Nix
_: {
|
|
hardware.pulseaudio.enable = false;
|
|
# rtkit is optional but recommended
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
# If you want to use JACK applications, uncomment this
|
|
#jack.enable = true;
|
|
};
|
|
|
|
services.pipewire.extraConfig.pipewire."92-low-latency" = {
|
|
"context.properties" = {
|
|
"default.clock.rate" = 48000;
|
|
"default.clock.allowed-rates" = [48000];
|
|
"default.clock.quantum" = 2048;
|
|
"default.clock.min-quantum" = 1024;
|
|
};
|
|
};
|
|
}
|