My config - https://github.com/sakshatshinde/nix-config
It worked fine until my last switch. I referred the nix-starter
config. Don’t believe I have changed any paths.
My home-manager switch --flake .
stopped working giving the following error
[sakshat@nixos:~/nix-config]$ home-manager switch --flake .
warning: Git tree '/home/sakshat/nix-config' is dirty
warning: Git tree '/home/sakshat/nix-config' is dirty
warning: Git tree '/home/sakshat/nix-config' is dirty
warning: Git tree '/home/sakshat/nix-config' is dirty
Starting Home Manager activation
Activating checkFilesChanged
Activating checkLinkTargets
Activating writeBoundary
Activating installPackages
replacing old 'home-manager-path'
installing 'home-manager-path'
Activating linkGeneration
Cleaning up orphan links from /home/sakshat
No change so reusing latest profile generation 6
Creating home file links in /home/sakshat
Activating onFilesChange
Activating reloadSystemd
Error: Error switching
Caused by:
0: Failed to build switch plan
1: No such file or directory (os error 2)