Files
NixOsConfig/modules/desktop/audio.nix
T
Claude 6e2fa1b9e7 Port the desktop aspects: Noctalia, audio, fonts, XDG, apps
Replace the T1 stubs with the real modules, ported from 030e97e without
behaviour changes except the intended theme ones (DESIGN.md section 11).

- noctalia: NixOS half (module, package, recommendedServices, attaches the
  home-manager half to the owner) and home-manager half (user service,
  shell settings). The noctalia flake's modules list home-manager's and
  nixpkgs' own `programs.noctalia` in `disabledModules`, so nothing is
  declared twice. The `theme` block and `font_family` are gone: Stylix's
  noctalia target writes the custom palette `stylix` and the shell font
  (Monaspace Krypton, via the override in theme/stylix.nix).
- audio: PipeWire body unchanged.
- fonts: coverage fonts only; the theme fonts and fontconfig defaults come
  from Stylix.
- xdg, apps: bodies unchanged.

The generated noctalia config.toml builds and passes
`noctalia config validate`.

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

24 lines
556 B
Nix

# PipeWire as the single audio server (ALSA, PulseAudio and JACK clients).
{
flake.modules.nixos.audio = {
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;
};
}