Files
NixOsConfig/modules/nixos/desktop/audio.nix
T
Claude 7dd6853124 Normalize file modes to 644
All tracked files were committed as 755; only Nix reads them.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JZ16yf4acmaSiHq81vyQ6Z
2026-10-12 20:41:48 +00:00

25 lines
602 B
Nix

# PipeWire as the single audio server (ALSA, PulseAudio and JACK clients).
{ config, lib, ... }:
{
config = lib.mkIf config.my.desktop.hyprland.enable {
services = {
pipewire = {
enable = true;
alsa = {
enable = true;
# 32-bit ALSA clients: Wine/Proton games.
support32Bit = true;
};
pulse.enable = true;
jack.enable = true;
wireplumber.enable = true;
};
pulseaudio.enable = false;
};
# Lets PipeWire take realtime scheduling for low-latency audio.
security.rtkit.enable = true;
};
}