mirror of
https://github.com/sadan4/dotfiles.git
synced 2024-11-16 23:04:39 -05:00
34 lines
904 B
Nix
34 lines
904 B
Nix
# https://lazamar.co.uk/nix-versions/
|
|
{ pkgs, config }:
|
|
{
|
|
# 1.89.1
|
|
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;
|
|
};
|
|
}).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;
|
|
}
|