- my.disks generates disko: NVMe btrfs (@root/@home/@nix/@log/@swap) + SATA SSD btrfs with one subvolume per ~/Games, Downloads, Documents, Music, Pictures, Videos, Storage (nofail) - lanzaboote Secure Boot, systemd initrd, latest kernel - AMD CPU/GPU: amdgpu initrd, OpenCL, LACT, optional ROCm - agenix with host-key identity, optional password and SSH key secrets - Hyprland (UWSM, XWayland) + greetd/tuigreet, Noctalia services, PipeWire, fonts - Steam + Proton-GE, gamescope, gamemode - overlays: compose Hyprland's hyprland-packages + hyprland-extras (upstream default lacks the hyprwm dependency overlays) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J1cugeLkfFLZMpiztQ8TyN
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;
|
|
};
|
|
}
|