I use NixOs btw Its awesome. Having a stable system config with home-mangere for the user env is pretty nice to just play around with the security of always being able to switch back to a working generation (some exceptions may apply).
I was messing with the hardware config (which has a warning not to mess with it if you dont know what you are doing) and corrupted my drives.
I got my previous system back from a clean install in 30 minutes.
As long as you arent doing anything to advanced nix is basically only a configuration languages. You probably have to make heavy use of the option search to know where and what to configure