Make sure pgrep is available
This commit is contained in:
parent
5d1bd82ba4
commit
464129a7e7
|
@ -19,7 +19,7 @@
|
|||
'';
|
||||
|
||||
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;
|
||||
script = "auto-mount add $@";
|
||||
preStop = "auto-mount remove $@";
|
||||
|
|
|
@ -13,7 +13,7 @@ writeShellApplication
|
|||
|
||||
name = "auto-mount";
|
||||
|
||||
runtimeInputs = [jq coreutils udisks util-linux];
|
||||
runtimeInputs = [jq coreutils udisks util-linux toybox];
|
||||
|
||||
text = ''
|
||||
set -euo pipefail
|
||||
|
|
Loading…
Reference in a new issue