Vscode-fhs specific version maintain

I am completely new in NixOS.
I have installed vscode-fhs through configuration.nix file adding vscode.fhs. It install Vscode version 1.96.2
But for some of my previous personal configuration I need to use version 1.93.6 or lower to sync and work with my config.

How can I add a specific version of vscode fhs package and stop my nixos to upgrade the version in future?

I am using unstable channel and I need to use vscode-fhs to avoid writing all the extension in config.

Suggest me a way please.

https://lazamar.co.uk/nix-versions/?package=vscode&version=1.91.0&fullName=vscode-1.91.0&keyName=vscode&revision=47c1824c261a343a6acca36d168a0a86f0e66292&channel=nixos-unstable#instructions

Heres the last before 93, you can use this site for other packages in pretty much all the repos.

You’ll probably want to read this too:
https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs

1 Like

Thanks. But may not work for “vscode-fhs”.