aboutsummaryrefslogtreecommitdiffstats
path: root/system/sound
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-04-03 17:52:29 +0200
committerene <ene@sils.li>2023-04-03 17:52:29 +0200
commit83ac843af53a8b97acf5424c0986d19b6b9d4a72 (patch)
treefc18c2bac9618dbf8fc9acd30e825c1024bb426f /system/sound
parentFix(hm/conf/lf): Use fzf instead of broot (diff)
downloadnixos-config-83ac843af53a8b97acf5424c0986d19b6b9d4a72.zip
Fix(system/audio): Set default volume for pa
Diffstat (limited to '')
-rw-r--r--system/sound/default.nix7
1 files changed, 6 insertions, 1 deletions
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;