
- Add modules/sound/pipewire.nix with full PipeWire stack - Include RNNoise AI-powered noise suppression - Add EasyEffects with pre-configured presets for mic and speakers - Include multiple GUI applications (pavucontrol, helvum, qpwgraph, pwvucontrol) - Add helper scripts: audio-setup, microphone-test, validate-audio - Optimize for low-latency real-time audio processing - Enable auto-start and desktop integration - Remove duplicate PipeWire configs from hardware-co.nix and users/common.nix - Import sound module through desktop/common.nix for all desktop machines
31 lines
632 B
Nix
31 lines
632 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
../sound/pipewire.nix
|
|
];
|
|
|
|
# Common desktop configuration shared across all environments
|
|
|
|
# XDG Portal configuration for Wayland/X11 compatibility
|
|
xdg.portal = {
|
|
enable = true;
|
|
wlr.enable = true;
|
|
extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
|
};
|
|
|
|
# Display manager and session management
|
|
services.dbus.enable = true;
|
|
|
|
# Enable XWayland for X11 app compatibility (Steam, etc.)
|
|
programs.xwayland.enable = true;
|
|
|
|
# Common desktop packages
|
|
environment.systemPackages = with pkgs; [
|
|
firefox
|
|
];
|
|
# Flatpak support
|
|
services.flatpak.enable = true;
|
|
}
|