use getExe everywhere
This commit is contained in:
parent
876a4f09b8
commit
a090dbe73e
7 changed files with 12 additions and 12 deletions
|
|
@ -91,7 +91,7 @@ in
|
|||
set -eu
|
||||
umask 077
|
||||
for user in ${lib.escapeShellArgs adminUsers}; do
|
||||
${pkgs.coreutils}/bin/install -m0400 -o "$user" -g root \
|
||||
${lib.getExe' pkgs.coreutils "install"} -m0400 -o "$user" -g root \
|
||||
${lib.escapeShellArg otelCredential} "$RUNTIME_DIRECTORY/$user"
|
||||
done
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
PIDFILE="/run/ssh-inhibitor-''${PPID}.pid"
|
||||
case "''${PAM_TYPE:-}" in
|
||||
open_session)
|
||||
${pkgs.systemd}/bin/systemd-inhibit \
|
||||
${lib.getExe' pkgs.systemd "systemd-inhibit"} \
|
||||
--what=sleep \
|
||||
--who=sshd \
|
||||
--why="SSH session active" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue