about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-10-09 01:41:01 +0200
committerRobin Gloster <mail@glob.in>2017-08-04 02:20:31 +0200
commit485a8fef731e1f73f473d052c27f9b5af64d2256 (patch)
treed0c8bdd72d85f65ddc980791c7b43c60d90a9acd /nixos
parent94a2cba8d9a89036965089e4d9eb963d422ff93c (diff)
downloadnixlib-485a8fef731e1f73f473d052c27f9b5af64d2256.tar
nixlib-485a8fef731e1f73f473d052c27f9b5af64d2256.tar.gz
nixlib-485a8fef731e1f73f473d052c27f9b5af64d2256.tar.bz2
nixlib-485a8fef731e1f73f473d052c27f9b5af64d2256.tar.lz
nixlib-485a8fef731e1f73f473d052c27f9b5af64d2256.tar.xz
nixlib-485a8fef731e1f73f473d052c27f9b5af64d2256.tar.zst
nixlib-485a8fef731e1f73f473d052c27f9b5af64d2256.zip
modules: specify some types
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/activation/top-level.nix1
-rw-r--r--nixos/modules/virtualisation/xen-dom0.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix
index e9897cc01b6a..67cb2264e3f3 100644
--- a/nixos/modules/system/activation/top-level.nix
+++ b/nixos/modules/system/activation/top-level.nix
@@ -141,6 +141,7 @@ in
     system.build = mkOption {
       internal = true;
       default = {};
+      type = types.attrs;
       description = ''
         Attribute set of derivations used to setup the system.
       '';
diff --git a/nixos/modules/virtualisation/xen-dom0.nix b/nixos/modules/virtualisation/xen-dom0.nix
index 5239652d4075..c7656bc309c0 100644
--- a/nixos/modules/virtualisation/xen-dom0.nix
+++ b/nixos/modules/virtualisation/xen-dom0.nix
@@ -16,6 +16,7 @@ in
     virtualisation.xen.enable =
       mkOption {
         default = false;
+        type = types.bool;
         description =
           ''
             Setting this option enables the Xen hypervisor, a