From 116ea629895aa3c6395c659e95f7495c275d696c Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 2 May 2023 07:46:43 -0700 Subject: profiles/workstation: consolidate sound related configurations --- profiles/workstation.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'profiles') diff --git a/profiles/workstation.nix b/profiles/workstation.nix index e860389..ae9423b 100644 --- a/profiles/workstation.nix +++ b/profiles/workstation.nix @@ -21,4 +21,28 @@ # Install tools related to the scanner (scanimage etc) hardware.sane.enable = true; + + # RealtimeKit is recommended + security.rtkit.enable = true; + + # Sound configuration + sound.enable = false; + + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + jack.enable = true; + }; + + hardware.pulseaudio.enable = false; + + # Misc packages useful on a workstation + environment.systemPackages = with pkgs; [ + # sound related + pulseaudio + pavucontrol + easyeffects + ]; } -- cgit 1.4.1