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 <--
}
+1 -1
View File
@@ -9,7 +9,7 @@
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
# Power savings
autoaspm.url = "github:notthebee/AutoASPM";
autoaspm.url = "git+https://git.notthebe.ee/notthebee/AutoASPM";
autoaspm.inputs.nixpkgs.follows = "nixpkgs";
};