aboutsummaryrefslogtreecommitdiff
path: root/profiles/workstation.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-02 07:46:43 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-02 07:46:43 -0700
commit116ea629895aa3c6395c659e95f7495c275d696c (patch)
treee42bcbc6b179e89e6205659ea14e00d157f297dd /profiles/workstation.nix
parentprofiles/workstation: moved more things around (diff)
downloadinfra-116ea629895aa3c6395c659e95f7495c275d696c.tar.gz
profiles/workstation: consolidate sound related configurations
Diffstat (limited to 'profiles/workstation.nix')
-rw-r--r--profiles/workstation.nix24
1 files changed, 24 insertions, 0 deletions
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
+ ];
}