update iusb-spoof and start service on boot

This commit is contained in:
Yureka 2024-08-03 23:38:21 +02:00
parent 79dea0686b
commit 27d66d390e
2 changed files with 2 additions and 6 deletions

View file

@ -23,11 +23,7 @@ in {
dns = "2a01:580:6000::ff01"; dns = "2a01:580:6000::ff01";
notipxe = node.config.system.build.notipxe.config.system.build.usbImage; notipxe = node.config.system.build.notipxe.config.system.build.usbImage;
in lib.nameValuePair "iusb-spoof-${nodename}" { in lib.nameValuePair "iusb-spoof-${nodename}" {
wantedBy = [ "multi-user.target" ];
# The iusb-spoof service is currently unreliable and may lock up the BMC + block the builder from booting
# Thus, it has to be started manually per builder when needed.
#wantedBy = [ "multi-user.target" ];
serviceConfig = { serviceConfig = {
Restart = "always"; Restart = "always";
}; };

View file

@ -9,7 +9,7 @@ rustPlatform.buildRustPackage rec {
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://git.lix.systems/the-distro/iusb-spoof/"; url = "https://git.lix.systems/the-distro/iusb-spoof/";
rev = "a1ec0384e724f609bb8e391512a8fa76d9894e55"; rev = "fafd47986239cc2f4dfbbae74b17555608806581";
}; };
cargoLock.lockFile = src + "/Cargo.lock"; cargoLock.lockFile = src + "/Cargo.lock";