Fixed spindown.nix and disko.nix

This commit is contained in:
Raphaël Numbus
2025-12-31 16:53:33 +01:00
parent faa986663c
commit a5c1af785c
3 changed files with 16 additions and 4 deletions
+9 -1
View File
@@ -1,5 +1,12 @@
{ config, pkgs, lib, ... }:
let
hardDrives = [
"DISK_LIST"
];
in
{
### --> Disk spindown
systemd.services.hd-idle = {
description = "External HD spin down daemon";
@@ -14,4 +21,5 @@
"${pkgs.hd-idle}/bin/hd-idle -i 0 ${hardDriveParameter}";
};
};
### Disk spindown <--
### Disk spindown <--
}