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
25 lines
602 B
Nix
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;
|
|
};
|
|
}
|