Colin
e68ca3d600
abandon the concept. it requires a systemd rebuild, and therefore almost all of userspace. not worth it yet. maybe buy a powered hub.
10 lines
201 B
Nix
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
|
|
];
|
|
}))
|
|
|