Not entirely sure what I did to cause this but when I try to run a nixos-rebuild switch, I am getting these errors - any idea on how to troubleshoot this?
building the system configuration…
error:
… in the left operand of the update (//) operator
at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:113:35:
112| in
113| withWarnings nixosWithUserModules // {
| ^
114| inherit extraArgs;
… while calling the 'import' builtin
at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:32:9:
31| , prefix ? []
32| , lib ? import ../../lib
| ^
33| , extraModules ? let e = builtins.getEnv "NIXOS_EXTRA_MODULE_PATH";
error: syntax error, unexpected end of file
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/default.nix:1:1:
1|
| ^