about summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/sound/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/sound/default.nix b/system/sound/default.nix
index 64465893..318dcb8b 100644
--- a/system/sound/default.nix
+++ b/system/sound/default.nix
@@ -1,4 +1,4 @@
-{...}: {
+{pkgs, ...}: {
   # Enable sound with pipewire.
   sound.enable = true;
   hardware.pulseaudio.enable = false;
@@ -16,7 +16,7 @@
       # Extra scripts can be started here. Setup in default.pa can be moved in
       # a script or in pulse.cmd below
       context.exec = [
-          { path = "pactl"        args = "set-sink-volume 0 13%" }
+          { path = "${pkgs.pulseaudio}/bin/pactl"        args = "set-sink-volume 0 13%" }
       ]
     '';
   };