1
0
Fork 0

Silence HDDs on palladium

This commit is contained in:
clerie 2021-05-01 13:01:08 +02:00
parent 47ebac55cd
commit de13ca0b79
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@
networking.useDHCP = false;
networking.interfaces.enp3s0.useDHCP = true;
# Keeping the harddrives quiet
services.udev.extraRules = ''
KERNEL=="sd?[0-9]", ENV{ID_MODEL}=="ST1000DM003-1SB102", ACTION=="add", RUN+="${pkgs.hdparm}/sbin/hdparm -S 24 /dev/%k"
'';
clerie.monitoring = {
enable = true;
id = "206";