Found this other thread with a very similar issue. Trying cd /etc/nixos && nix flake update && nixos-rebuild boot && systemctl kexec
now. Could fix some stuff, could break basically everything. On the upside, though, NixOS should let me roll back if everything goes catastrophically wrong.