dotfiles/common/pinned.nix

34 lines
904 B
Nix
Raw Permalink Normal View History

2024-09-17 21:24:54 -04:00
# https://lazamar.co.uk/nix-versions/
{ pkgs, config }:
2024-10-28 19:57:27 -04:00
{
# 1.89.1
2024-10-28 19:57:27 -04:00
vscode = (import
(builtins.fetchGit {
# Descriptive name to make the store path easier to identify
name = "my-old-revision";
url = "https://github.com/NixOS/nixpkgs/";
ref = "refs/heads/nixpkgs-unstable";
rev = "0c19708cf035f50d28eb4b2b8e7a79d4dc52f6bb";
})
{
system = pkgs.system;
config = {
allowUnfree = true;
};
2024-10-28 19:57:27 -04:00
}).vscode;
etcher = (import
(builtins.fetchGit {
# Descriptive name to make the store path easier to identify
name = "my-old-revision";
url = "https://github.com/NixOS/nixpkgs/";
ref = "refs/heads/nixpkgs-unstable";
rev = "336eda0d07dc5e2be1f923990ad9fdb6bc8e28e3";
})
{
system = pkgs.system;
config = {
permittedInsecurePackages = [ "electron-19.1.9" ];
};
}).etcher;
2024-09-17 21:24:54 -04:00
}