diff --git a/nodes/hosts/common/services/sound.nix b/nodes/hosts/common/services/sound.nix index 099b9c8..b175786 100644 --- a/nodes/hosts/common/services/sound.nix +++ b/nodes/hosts/common/services/sound.nix @@ -1,4 +1,13 @@ -{ ... }: { +{ pkgs, inputs, ... }: { + + imports = [ + inputs.nix-gaming-stable-nixos.nixosModules.pipewireLowLatency + ]; + + hardware.pulseaudio = { + package = pkgs.pulseaudioFull; + }; + # Enable sound with pipewire. services.pulseaudio.enable = false; services.pipewire = { @@ -6,9 +15,12 @@ alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; + wireplumber.enable = true; # If you want to use JACK applications, uncomment this jack.enable = true; + lowLatency.enable = true; + # use the example session manager (no others are packaged yet so this is enabled by default, # no need to redefine it in your config for now) #media-session.enable = true;