From 83ac843af53a8b97acf5424c0986d19b6b9d4a72 Mon Sep 17 00:00:00 2001 From: ene Date: Mon, 3 Apr 2023 17:52:29 +0200 Subject: Fix(system/audio): Set default volume for pa --- system/sound/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'system') diff --git a/system/sound/default.nix b/system/sound/default.nix index 16dd4279..98e3a012 100644 --- a/system/sound/default.nix +++ b/system/sound/default.nix @@ -1,7 +1,12 @@ {config, ...}: { # Enable sound with pipewire. sound.enable = true; - hardware.pulseaudio.enable = false; + hardware.pulseaudio = { + enable = false; + extraConfig = '' + set-sink-volume 0 13% # set the default volume + ''; + }; security.rtkit.enable = true; services.pipewire = { enable = true; -- cgit 1.4.1