I don’t have enough disk space. Once the new packages are downloaded during the refactoring process, it will fail. Now I modified
/etc/nixos/hardware-configuration.nix and added a new larger partition. But I could not successfully rebuild the system so that
/etc/fstab could never be updated.
I didn’t use the
--upgrade option in the command, but it still pulls new packages remotely. This may be because I have updated before, but it failed (maybe the channel has been updated?).