nixos: audio: setup pipewire low latency
This commit is contained in:
parent
40806341d4
commit
f79e3a569f
2 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,9 @@ in {
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
|
|
||||||
|
# pipewireLowLatency module from github:fufexan/nix-gaming
|
||||||
|
lowLatency.enable = true;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(lib.mkIf (cfg.soundServer == "pulseaudio") {
|
(lib.mkIf (cfg.soundServer == "pulseaudio") {
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
inputs.impermanence.nixosModules.impermanence
|
inputs.impermanence.nixosModules.impermanence
|
||||||
inputs.lanzaboote.nixosModules.lanzaboote
|
inputs.lanzaboote.nixosModules.lanzaboote
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
|
inputs.nix-gaming.nixosModules.pipewireLowLatency
|
||||||
];
|
];
|
||||||
|
|
||||||
users.mutableUsers = false;
|
users.mutableUsers = false;
|
||||||
|
|
Loading…
Reference in a new issue