hytech-racing / hytech_nixos

1 stars 0 forks source link

make the can network setup script properly bring down the CAN network when being re-started #8

Closed RCMast3r closed 7 months ago

RCMast3r commented 7 months ago

currently the CAN network service for bring up fails when re-activating the nixos profile. this should be able to be remedied with the correct set of commands for re-starting the systemd service

here is the can network systemd definition:

https://github.com/hytech-racing/hytech_nixos/blob/master/modules/can_network.nix#L38

RCMast3r commented 7 months ago

once we do this we can use deploy-rs for easier deployment to the car since it automatically rolls back to the previous profile if failure occurs.