62 lines
1.9 KiB
Nix
62 lines
1.9 KiB
Nix
let
|
|
nixpkgs = {
|
|
url = "https://github.com/NixOS/nixpkgs/";
|
|
ref = "nixos-21.11";
|
|
rev = ''
|
|
<% git ls-remote https://github.com/nixos/nixpkgs nixos-21.11 | awk '{ print $1 }' | tr -d '
|
|
' -%>'';
|
|
};
|
|
|
|
in {
|
|
inherit nixpkgs;
|
|
"channels-nixos-stable" = nixpkgs;
|
|
"channels-nixos-21.05" = {
|
|
url = "https://github.com/NixOS/nixpkgs/";
|
|
ref = "nixos-21.05";
|
|
rev = ''
|
|
<% git ls-remote https://github.com/nixos/nixpkgs nixos-20.05 | awk '{ print $1 }' | tr -d '
|
|
' -%>'';
|
|
};
|
|
"channels-nixos-20.09" = {
|
|
url = "https://github.com/NixOS/nixpkgs/";
|
|
ref = "nixos-20.09";
|
|
rev = ''
|
|
<% git ls-remote https://github.com/nixos/nixpkgs nixos-20.09 | awk '{ print $1 }' | tr -d '
|
|
' -%>'';
|
|
};
|
|
"channels-nixos-20.03" = {
|
|
url = "https://github.com/NixOS/nixpkgs/";
|
|
ref = "nixos-20.03";
|
|
rev = ''
|
|
<% git ls-remote https://github.com/nixos/nixpkgs nixos-20.03 | awk '{ print $1 }' | tr -d '
|
|
' -%>'';
|
|
};
|
|
"channels-nixos-19.09" = {
|
|
url = "https://github.com/NixOS/nixpkgs/";
|
|
ref = "nixos-19.09";
|
|
rev = ''
|
|
<% git ls-remote https://github.com/nixos/nixpkgs nixos-19.09 | awk '{ print $1 }' | tr -d '
|
|
' -%>'';
|
|
};
|
|
"channels-nixos-unstable" = {
|
|
url = "https://github.com/NixOS/nixpkgs/";
|
|
ref = "nixos-unstable";
|
|
rev = ''
|
|
<% git ls-remote https://github.com/nixos/nixpkgs nixos-unstable | awk '{ print $1 }' | tr -d '
|
|
' -%>'';
|
|
};
|
|
"nixpkgs-master" = {
|
|
url = "https://github.com/NixOS/nixpkgs/";
|
|
ref = "master";
|
|
rev = ''
|
|
<% git ls-remote https://github.com/NixOS/nixpkgs.git master | head -n1 | awk '{ print $1 }' | tr -d '
|
|
' -%>'';
|
|
};
|
|
"home-manager-module" = {
|
|
url = "https://github.com/nix-community/home-manager";
|
|
ref = "release-21.05";
|
|
rev = ''
|
|
<% git ls-remote https://github.com/nix-community/home-manager.git release-21.05 | awk '{ print $1 }' | tr -d '
|
|
' -%>'';
|
|
};
|
|
}
|