The hsm_secret is basically your CLN onchain wallet is on the disk together with the other user data.
The OS lives on the SDcard amd it can be changed at will - the system is designed to recover the data from the disk.
The CLN wallet (if encrypted) will need to be unlocked after every restart of the node.