@cryptotaxi247 / infra / commits / e7e22664

channels: move to a .nix file for referencing elsewhere

Eelco Dolstra committed Dec 26, 2019 at 03:32 UTC e7e22664ad88fde70647bc3ab2ebb31a1c81420a
2 files changed +21 -18
channels.nix new
+20
@@ -0,0 +1,20 @@
1 +{
2 + channels = {
3 + # Channel name https://hydra.nixos.org/job/<value>/latest-finished
4 + "nixos-unstable" = "nixos/trunk-combined/tested";
5 + "nixos-unstable-small" = "nixos/unstable-small/tested";
6 + "nixpkgs-unstable" = "nixpkgs/trunk/unstable";
7 +
8 + "nixos-19.09" = "nixos/release-19.09/tested";
9 + "nixos-19.09-small" = "nixos/release-19.09-small/tested";
10 + "nixpkgs-19.09-darwin" = "nixpkgs/nixpkgs-19.09-darwin/darwin-tested";
11 +
12 + "nixos-19.03" = "nixos/release-19.03/tested";
13 + "nixos-19.03-small" = "nixos/release-19.03-small/tested";
14 + "nixpkgs-19.03-darwin" = "nixpkgs/nixpkgs-19.03-darwin/darwin-tested";
15 +
16 + "nixos-18.09" = "nixos/release-18.09/tested";
17 + "nixos-18.09-small" = "nixos/release-18.09-small/tested";
18 + "nixpkgs-18.09-darwin" = "nixpkgs/nixpkgs-18.09-darwin/darwin-tested";
19 + };
20 +}
modules/hydra-mirror.nix
+1 -18
@@ -1,24 +1,7 @@
1 { lib, pkgs, ... }:
2
3 let
4 - channels = {
5 - # Channel name https://hydra.nixos.org/job/<value>/latest-finished
6 - "nixos-unstable" = "nixos/trunk-combined/tested";
7 - "nixos-unstable-small" = "nixos/unstable-small/tested";
8 - "nixpkgs-unstable" = "nixpkgs/trunk/unstable";
9 -
10 - "nixos-19.09" = "nixos/release-19.09/tested";
11 - "nixos-19.09-small" = "nixos/release-19.09-small/tested";
12 - "nixpkgs-19.09-darwin" = "nixpkgs/nixpkgs-19.09-darwin/darwin-tested";
13 -
14 - "nixos-19.03" = "nixos/release-19.03/tested";
15 - "nixos-19.03-small" = "nixos/release-19.03-small/tested";
16 - "nixpkgs-19.03-darwin" = "nixpkgs/nixpkgs-19.03-darwin/darwin-tested";
17 -
18 - "nixos-18.09" = "nixos/release-18.09/tested";
19 - "nixos-18.09-small" = "nixos/release-18.09-small/tested";
20 - "nixpkgs-18.09-darwin" = "nixpkgs/nixpkgs-18.09-darwin/darwin-tested";
21 - };
4 + channels = (import ../channels.nix).channels;
5
6 channelScripts = import /home/deploy/src/nixos-channel-scripts { inherit pkgs; }; # FIXME
7 orderLib = import ../lib/service-order.nix { inherit lib; };