nix-files/pkgs/systemd/default.nix
Colin e68ca3d600 toy around with explicitly spinning down the hard drive during shutdown
abandon the concept. it requires a systemd rebuild, and therefore
almost all of userspace. not worth it yet. maybe buy a powered hub.
2022-05-18 10:40:28 +00:00

10 lines
201 B
Nix

{ pkgs }:
(pkgs.systemd.overrideAttrs (upstream: {
patches = (upstream.patches or []) ++ [
# give the HDD time to spin down before abruptly cutting power
./01-spindown-drive.patch
];
}))