restructure

This commit is contained in:
Kopatz
2023-11-05 11:09:24 +01:00
parent 64d8c7a494
commit 7c302c94a8
49 changed files with 37 additions and 10 deletions

7
modules/hdd-spindown.nix Normal file
View File

@@ -0,0 +1,7 @@
{ pkgs, ...}:
{
powerManagement.powerUpCommands = ''
${pkgs.hdparm}/sbin/hdparm -B 127 /dev/sd[ab]
${pkgs.hdparm}/sbin/hdparm -S 120 /dev/sd[ab]
'';
}