nixos: audio: setup pipewire low latency

This commit is contained in:
Guanran Wang 2024-01-06 06:04:23 +08:00
parent 40806341d4
commit f79e3a569f
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
2 changed files with 4 additions and 0 deletions

View file

@ -27,6 +27,9 @@ in {
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
# pipewireLowLatency module from github:fufexan/nix-gaming
lowLatency.enable = true;
};
})
(lib.mkIf (cfg.soundServer == "pulseaudio") {

View file

@ -18,6 +18,7 @@
inputs.impermanence.nixosModules.impermanence
inputs.lanzaboote.nixosModules.lanzaboote
inputs.sops-nix.nixosModules.sops
inputs.nix-gaming.nixosModules.pipewireLowLatency
];
users.mutableUsers = false;