Closed Guelakais closed 4 months ago
If you are just doing development or running ROS processes manually, you don't put anything in your NixOS config. The NixOS modules are only needed if you want to start ROS processes at boot (i.e. you are running NixOS on your robot).
Otherwise, you just use a shell file like one of the examples and enter the shell using nix-shell
or nix develop
if using flakes.
To be honest, it's too complicated for me. I haven't dealt with flakes yet and run my ros2 applications using a Docker container that I have developed. I will look into it when the standard ros2 packages, like gazebo, rviz or the ros2 command line tool, can be included in the config as normal.
To be honest, either I don't understand it or it's not clearly described. I've read the readme and looked at the examples and unfortunately it's not clear to me. Do you know what I need to put in my config to make the ros2 installation process via
sudo nixos-rebuild switch
work?