systemd: remove replacing modprobe

This path is already correctly overriden via the module system on
master and thus is unneeded.
This commit is contained in:
nikstur
2026-04-11 14:24:10 +02:00
parent 74f9684a0a
commit 8a17f4b972
@@ -599,13 +599,6 @@ stdenv.mkDerivation (finalAttrs: {
replacement = "$out/lib/systemd/systemd-fsck";
where = [ "man/systemd-fsck@.service.xml" ];
}
]
++ lib.optionals withKmod [
{
search = "ExecStart=-modprobe";
replacement = "ExecStart=-${lib.getBin kmod}/bin/modprobe";
where = [ "units/modprobe@.service" ];
}
];
# { replacement, search, where, ignore } -> List[str]