about summary refs log tree commit diff
path: root/modules/core
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-08-01 22:54:29 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-08-01 22:54:29 +0200
commit1c9277a8faa010c180d280bf50dcf67be9815940 (patch)
tree9627c87ec65e486b4ba0aa52d69b12ae4d35b74a /modules/core
parenta8b9a3b69aff76f2630212c5909c620a381ce2a7 (diff)
core/tests: Add new NixOS tests
New tests are since NixOS/nixpkgs@4f796c28d57887cc9812190bc99fb45b2a.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/tests.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/core/tests.nix b/modules/core/tests.nix
index d664360a..2e8b8c06 100644
--- a/modules/core/tests.nix
+++ b/modules/core/tests.nix
@@ -48,6 +48,9 @@ let
                         || i.localAddress6 != null) config.containers;
       path  = ["nixos" "containers-ipv6"];
     }
+    { check = anyAttrs (i: i.extraVeths != {}) config.containers;
+      path  = ["nixos" "containers-extra_veth"];
+    }
     { check = config.services.dnscrypt-proxy.enable;
       path  = ["nixos" "dnscrypt-proxy"];
     }
@@ -57,6 +60,9 @@ let
     { check = config.services.dockerRegistry.enable;
       path  = ["nixos" "dockerRegistry"];
     }
+    { check = config.security.pam.enableEcryptfs;
+      path  = ["nixos" "ecryptfs"];
+    }
     { check = config.services.etcd.enable;
       path  = ["nixos" "etcd"];
     }
@@ -72,9 +78,18 @@ let
     { check = config.services.xserver.displayManager.gdm.enable;
       path  = ["nixos" "gnome3-gdm"];
     }
+    { check = services.gocd-agent.enable;
+      path  = ["nixos" "gocd-agent"];
+    }
+    { check = services.gocd-server.enable;
+      path  = ["nixos" "gocd-server"];
+    }
     { check = config.boot.kernelPackages.kernel.features.grsecurity or false;
       path  = ["nixos" "grsecurity"];
     }
+    { check = true;
+      path  = ["nixos" "hibernate"];
+    }
     { check = config.services.xserver.windowManager.i3.enable;
       path  = ["nixos" "i3wm"];
     }
@@ -269,6 +284,9 @@ let
     { check = true;
       path  = ["nixos" "simple"];
     }
+    { check = config.services.smokeping.enable;
+      path  = ["nixos" "smokeping"];
+    }
     { check = config.services.taskserver.enable;
       path  = ["nixos" "taskserver"];
     }