.nix-defexpr being created despite disabling channels

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. :stuck_out_tongue:

2 Likes