diff options
Diffstat (limited to 'release.nix')
-rw-r--r-- | release.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/release.nix b/release.nix index 33aff057..85fd42d4 100644 --- a/release.nix +++ b/release.nix @@ -1,11 +1,16 @@ with import <nixpkgs/lib>; let + system = "x86_64-linux"; + genMachine = name: cfg: (import <nixpkgs/nixos/lib/eval-config.nix> { - system = "x86_64-linux"; + inherit system; modules = [ cfg ]; }).config.system.build.toplevel; in { machines = mapAttrs genMachine (import ./default.nix).machines; + tests = { + heinrich = import ./tests/heinrich.nix { inherit system; }; + }; } |