Update audio configs
This commit is contained in:
parent
fbe88d337c
commit
4166e5615e
2 changed files with 4 additions and 2 deletions
nixos
|
@ -2,14 +2,15 @@
|
|||
# Enable sound with pipewire.
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
systemWide = true;
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
pulse.enable = true;
|
||||
extraConfig.pipewire = {
|
||||
"context.properties" = {
|
||||
"default.clock.rate" = 48000;
|
||||
"default.clock.quantum" = 2048;
|
||||
"default.clock.min-quantum" = 2048;
|
||||
"default.clock.quantum" = 1024;
|
||||
"default.clock.min-quantum" = 64;
|
||||
"default.clock.max-quantum" = 8192;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -14,6 +14,7 @@ in {
|
|||
extraGroups = [ "networkmanager" "wheel" ]
|
||||
++ ifExists [ "keys" ]
|
||||
++ ifExists [ "audio" ]
|
||||
++ ifExists [ "pipewire" ]
|
||||
++ ifExists [ "video" ]
|
||||
++ ifExists [ "docker" ]
|
||||
++ ifExists [ "podman" ]
|
||||
|
|
Loading…
Add table
Reference in a new issue