about summary refs log tree commit diff
path: root/release.nix
blob: 85fd42d433950fe9c342c1cd900c2adf60224f83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
with import <nixpkgs/lib>;

let
  system = "x86_64-linux";

  genMachine = name: cfg: (import <nixpkgs/nixos/lib/eval-config.nix> {
    inherit system;
    modules = [ cfg ];
  }).config.system.build.toplevel;

in {
  machines = mapAttrs genMachine (import ./default.nix).machines;
  tests = {
    heinrich = import ./tests/heinrich.nix { inherit system; };
  };
}