Make sure pgrep is available

This commit is contained in:
Lillian Violet 2024-03-21 13:43:22 +01:00
parent 5d1bd82ba4
commit 464129a7e7
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@
''; '';
systemd.services."external-drive-mount@" = { systemd.services."external-drive-mount@" = {
path = with pkgs; [jq coreutils udisks bash util-linux auto-mount]; path = with pkgs; [jq coreutils udisks bash util-linux toybox auto-mount];
enable = true; enable = true;
script = "auto-mount add $@"; script = "auto-mount add $@";
preStop = "auto-mount remove $@"; preStop = "auto-mount remove $@";

View file

@ -13,7 +13,7 @@ writeShellApplication
name = "auto-mount"; name = "auto-mount";
runtimeInputs = [jq coreutils udisks util-linux]; runtimeInputs = [jq coreutils udisks util-linux toybox];
text = '' text = ''
set -euo pipefail set -euo pipefail