I switched to flakes, and now my config files, including
flake.nix, live in
I understand that to rebuild, the proper command would be
sudo nixos-rebuild switch --flake .
But it is not finding the
flake.nix file, because it says
path '/home/shmuel' does not contain a 'flake.nix', searching up
error: could not find a flake.nix file
It does not seem to be looking up the correct path.