home-lab/modules/desktop/common.nix
Geir Okkenhaug Jerstad 9c9dcdc196 Add comprehensive PipeWire audio configuration with noise suppression
- 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
2025-06-18 20:57:39 +02:00

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;
}