After nixos-rebuild switch, the folder ~/.nix-defexpr gets created. My config is a flake and I have nix.channel.enable = false;, so nix-channel is an invalid command for me.
Pretty sure it still isn’t possible to avoid this. Just live with it. It’s not hurting anything other than your OCD. ![]()
2 Likes