summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-09-04 13:09:10 +0200
committerJörg Thalheim <joerg@thalheim.io>2022-09-04 13:09:10 +0200
commit68f950bf2045573b03cd0e1ceebe7131ea999873 (patch)
treecba2f7972cb82ff445e68383a46927c8a25ec763 /tests
parent65bd5a97f8dddaa6710df085cfd643d8eefead38 (diff)
add test for standalone nixos config
Diffstat (limited to 'tests')
-rw-r--r--tests/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/default.nix b/tests/default.nix
index 3118624..496a935 100644
--- a/tests/default.nix
+++ b/tests/default.nix
@@ -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