about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-04-14 19:04:48 +0200
committerSoispha <soispha@vhack.eu>2023-05-09 19:30:35 +0200
commit3b5ac2b913a01f78505ffd44546af762b4c3f5c5 (patch)
treee186d4edb759b34728afc305a93df8de485efb81
parentFix(system): Disable timer activated systemd services (diff)
downloadnixos-config-3b5ac2b913a01f78505ffd44546af762b4c3f5c5.tar.gz
nixos-config-3b5ac2b913a01f78505ffd44546af762b4c3f5c5.zip
Fix(system/sound): Use full path for pactl
-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%" }
       ]
     '';
   };