28 lines
799 B
Nix
28 lines
799 B
Nix
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
|
{ lib, config, pkgs, ... }:
|
|
{
|
|
############################
|
|
# Audio system
|
|
############################
|
|
|
|
# Disable PulseAudio (PipeWire replaces it)
|
|
hardware.pulseaudio.enable = false;
|
|
security.rtkit.enable = true;
|
|
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true; # PulseAudio compatibility layer
|
|
jack.enable = true;
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
pavucontrol # GUI mixer
|
|
pamixer # CLI mixer
|
|
playerctl # Player controls
|
|
alsa-utils # aplay, amixer etc.
|
|
pwvucontrol # PipeWire volume control (optional but useful)
|
|
];
|
|
}
|