Change sudo command to use '-u cm' to run nixos-rebuild as the cm user instead of root, allowing access to /home/cm/nixosbox directory.
Change sudo command to use '-u cm' to run nixos-rebuild as the cm user instead of root, allowing access to /home/cm/nixosbox directory.