about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2021-09-22 13:07:33 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2021-09-22 13:07:33 +0200
commit693ccbac67ceeb2cfee41529a5596ef6c528f286 (patch)
tree04cde6b7fccc914da089aaa5052e14d9a629b58c /nixos
parentfa7c1141966f830153f65355b69d177bdfb4b5cf (diff)
nixos/safeeyes: add `alsa-utils` for `aplay` to the service's path
This is needed in order to use the `audiblealert`-plugin which requires
`aplay` to be available to work.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/misc/safeeyes.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/misc/safeeyes.nix b/nixos/modules/services/misc/safeeyes.nix
index 1e748195e41aa..ed2dae69a9fe1 100644
--- a/nixos/modules/services/misc/safeeyes.nix
+++ b/nixos/modules/services/misc/safeeyes.nix
@@ -32,6 +32,8 @@ in
       wantedBy = [ "graphical-session.target" ];
       partOf   = [ "graphical-session.target" ];
 
+      path = [ pkgs.alsa-utils ];
+
       startLimitIntervalSec = 350;
       startLimitBurst = 10;
       serviceConfig = {