diff options
author | ene <ene@sils.li> | 2023-04-03 17:52:29 +0200 |
---|---|---|
committer | ene <ene@sils.li> | 2023-04-03 17:52:29 +0200 |
commit | 83ac843af53a8b97acf5424c0986d19b6b9d4a72 (patch) | |
tree | fc18c2bac9618dbf8fc9acd30e825c1024bb426f | |
parent | Fix(hm/conf/lf): Use fzf instead of broot (diff) | |
download | nixos-config-83ac843af53a8b97acf5424c0986d19b6b9d4a72.tar.gz nixos-config-83ac843af53a8b97acf5424c0986d19b6b9d4a72.zip |
Fix(system/audio): Set default volume for pa
Diffstat (limited to '')
-rw-r--r-- | system/sound/default.nix | 7 |
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; |