about summary refs log tree commit diff
path: root/modules/core
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2017-02-16 03:28:54 +0100
committeraszlig <aszlig@redmoonstudios.org>2017-02-16 03:28:54 +0100
commita61722bea8bdcf775bdac0437d21dca0efec95cc (patch)
tree309d47be7bb76076a2ddd2f6da22cba7e81e3ef7 /modules/core
parentb47042d519a0fde0206097c3ed52de40da7af3f7 (diff)
core/tests: Add a few missing callSubTests tests
Haha, so that's what I got from introducing callSubTests in
NixOS/nixpkgs@b3337edd0b77f04d0abe4a29642a5e4fdb4ad692.

While in general this is an improvement, it makes it harder for vuizvui
to gather tests that were added or removed.

Maybe we should write an updater for this soon.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/tests.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/core/tests.nix b/modules/core/tests.nix
index ae26ab0b..a1b947e0 100644
--- a/modules/core/tests.nix
+++ b/modules/core/tests.nix
@@ -149,6 +149,9 @@ let
     { check = elem "ext3" config.boot.supportedFilesystems;
       path  = ["nixos" "installer" "simple"];
     }
+    { check = config.boot.loader.systemd-boot.enable;
+      path  = ["nixos" "installer" "simpleUefiGummiboot"];
+    }
     { check = config.boot.loader.grub.fsIdentifier == "label";
       path  = ["nixos" "installer" "simpleLabels"];
     }
@@ -354,6 +357,10 @@ let
         ["nixos" "virtualbox" "systemd-detect-virt"]
       ];
     }
+    { check = config.virtualisation.virtualbox.host.enable
+           && config.virtualisation.virtualbox.headless;
+      path  = ["nixos" "virtualbox" "headless"];
+    }
     { check = config.services.xserver.desktopManager.xfce.enable;
       path  = ["nixos" "xfce"];
     }