ninurta: fix path to binary in udev rule

This commit is contained in:
Tim Schubert 2023-11-05 00:57:34 +01:00
parent 39a33ac0d2
commit 7614142c11
Signed by: dadada
SSH key fingerprint: SHA256:bFAjFH3hR8zRBaJjzQDjc3o4jqoq5EZ87l+KXEjxIz0

View file

@ -450,7 +450,7 @@ in
(pkgs.writeTextFile {
name = "60-hdparm";
text = ''
ACTION=="add|change", KERNEL=="sd[a-z]", ATTRS{queue/rotational}=="1", RUN+="/usr/bin/hdparm -S 60 /dev/%k"
ACTION=="add|change", KERNEL=="sd[a-z]", ATTRS{queue/rotational}=="1", RUN+="${pkgs.hdparm}/bin/hdparm -S 60 /dev/%k"
'';
destination = "/etc/udev/rules.d/60-hdparm.rules";
})