 i am using flake for my nixos, and set the nixpkgs to "github:nixos/nixpkgs/nixos-unstable" so it should use it instead of the local one.