add test for standalone nixos config

This commit is contained in:
Jörg Thalheim 2022-09-04 13:09:10 +02:00
parent 65bd5a97f8
commit 68f950bf20
4 changed files with 50 additions and 29 deletions

View file

@ -20,6 +20,8 @@ let
);
allTests = lib.genAttrs (allTestFilenames) (test: import (./. + "/${test}.nix") { inherit makeDiskoTest; }) //
evalTest "lvm-luks-example" ../example/config.nix;
evalTest "lvm-luks-example" ../example/config.nix // {
standalone = (pkgs.nixos [ ../example/stand-alone/configuration.nix ]).config.system.build.toplevel;
};
in
allTests